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:58Victor MerckléVictor MerckléScore: 94,410Success
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:5993,6472,809,420,3672,777,250,00010,997,0002,494,464stderr
2Apr 27, 2026 08:5993,8002,814,000,8142,786,193,0009,997,0002,486,272stderr
3Apr 27, 2026 08:5993,8502,815,527,4542,785,133,0009,996,0002,486,272stderr
4Apr 27, 2026 08:5994,0002,820,000,0402,791,183,0008,997,0002,691,072stderr
5Apr 27, 2026 08:5994,4102,832,322,0842,796,402,00012,992,0002,486,272stderr
6Apr 27, 2026 08:5994,9452,848,372,4742,814,791,00012,994,0002,322,432stderr
7Apr 27, 2026 08:5997,3752,921,262,1072,892,534,00014,992,0002,490,368stderr
8Apr 27, 2026 08:5998,1552,944,672,3892,912,457,00014,992,0002,531,328stderr
9Apr 27, 2026 08:5998,3632,950,902,1022,912,441,00012,993,0002,322,432stderr