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:48Andrew EpsteinAndrew EpsteinScore: 72,924Success
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:4972,6902,409,985,9862,393,549,0005,230,0002,121,728stderr
2Sep 18, 2026 18:4972,7012,409,670,5872,393,975,0005,161,0002,121,728stderr
3Sep 18, 2026 18:4972,7672,412,644,9252,396,065,0005,266,0002,121,728stderr
4Sep 18, 2026 18:4972,7922,413,348,7822,396,999,0005,142,0002,121,728stderr
5Sep 18, 2026 18:4972,9242,417,103,7202,401,290,0005,230,0002,121,728stderr
6Sep 18, 2026 18:4972,9752,419,354,1032,403,066,0005,124,0002,121,728stderr
7Sep 18, 2026 18:4973,1132,423,928,0972,407,636,0005,101,0002,121,728stderr
8Sep 18, 2026 18:4973,1492,425,088,2352,408,756,0005,186,0002,121,728stderr
9Sep 18, 2026 18:4973,1892,425,738,3072,410,162,0005,102,0002,121,728stderr