Unique strings Sergey Svistunov

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 listSep 18, 2026 18:22Andrew EpsteinAndrew EpsteinScore: 66,454Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 18:2466,2322,196,395,2342,178,253,0007,414,0002,121,728stderr
2Sep 18, 2026 18:2466,2912,198,805,8162,180,214,0007,405,0002,121,728stderr
3Sep 18, 2026 18:2466,4082,202,054,1682,185,254,0006,225,0002,117,632stderr
4Sep 18, 2026 18:2466,4262,203,332,4902,184,814,0007,259,0002,121,728stderr
5Sep 18, 2026 18:2466,4542,204,122,2082,186,736,0006,277,0002,121,728stderr
6Sep 18, 2026 18:2466,5262,205,887,9922,188,099,0007,269,0002,117,632stderr
7Sep 18, 2026 18:2466,6632,210,409,1972,192,676,0007,233,0002,121,728stderr
8Sep 18, 2026 18:2466,7272,213,221,8892,194,753,0007,250,0002,121,728stderr
9Sep 18, 2026 18:2466,7272,212,575,2432,194,795,0007,220,0002,121,728stderr