Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listApr 27, 2026 08:05Victor MerckléVictor MerckléScore: 88,538Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 08:0688,0452,641,377,9712,617,758,0006,999,0002,322,432stderr
2Apr 27, 2026 08:0688,1342,644,043,4502,612,845,0006,996,0002,523,136stderr
3Apr 27, 2026 08:0688,2762,648,304,2132,620,021,0007,997,0002,510,848stderr
4Apr 27, 2026 08:0688,3392,650,180,3192,624,682,0005,996,0002,555,904stderr
5Apr 27, 2026 08:0688,5382,656,169,6582,620,851,0007,996,0002,322,432stderr
6Apr 27, 2026 08:0689,1812,675,440,8442,652,702,0006,996,0002,523,136stderr
7Apr 27, 2026 08:0689,2742,678,225,4132,651,077,0007,994,0002,510,848stderr
8Apr 27, 2026 08:0689,3462,680,386,3902,647,504,0009,994,0002,322,432stderr
9Apr 27, 2026 08:0689,7302,691,927,6042,660,004,0009,996,0002,514,944stderr