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 listAug 16, 2026 02:57Victor MerckléVictor MerckléScore: 4,963Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 02:584,871146,154,235405,912,0003,154,0002,404,352stderr
2Aug 16, 2026 02:584,871146,146,149405,703,0003,151,0002,424,832stderr
3Aug 16, 2026 02:584,914147,421,009405,083,0003,167,0002,400,256stderr
4Aug 16, 2026 02:584,926147,781,459407,240,0003,154,0002,449,408stderr
5Aug 16, 2026 02:584,963148,917,057413,630,0003,255,0002,449,408stderr
6Aug 16, 2026 02:584,977149,335,224415,210,0003,050,0002,449,408stderr
7Aug 16, 2026 02:585,024150,723,759414,127,0004,214,0002,424,832stderr
8Aug 16, 2026 02:585,025150,766,304418,917,0003,119,0002,424,832stderr
9Aug 16, 2026 02:585,030150,901,239419,361,0003,187,0002,404,352stderr