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 19:21Andrew EpsteinAndrew EpsteinScore: 64,028Success
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 19:2263,7832,116,092,0502,099,604,0005,251,0002,121,728stderr
2Sep 18, 2026 19:2263,8852,118,744,4032,103,034,0005,190,0002,121,728stderr
3Sep 18, 2026 19:2263,9522,121,019,5372,105,226,0005,209,0002,117,632stderr
4Sep 18, 2026 19:2263,9662,122,081,5492,105,683,0005,209,0002,121,728stderr
5Sep 18, 2026 19:2264,0282,125,404,7352,107,728,0005,211,0002,121,728stderr
6Sep 18, 2026 19:2264,2592,131,799,7592,114,450,0006,114,0002,121,728stderr
7Sep 18, 2026 19:2264,3722,135,524,5302,119,120,0005,181,0002,121,728stderr
8Sep 18, 2026 19:2264,4672,138,596,2682,122,330,0005,086,0002,121,728stderr
9Sep 18, 2026 19:2264,5502,142,361,2072,123,883,0006,279,0002,121,728stderr