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 listOct 30, 2026 21:38Andrew EpsteinAndrew EpsteinScore: 69,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 21:4069,1282,292,464,0622,270,804,00010,427,0002,121,728stderr
2Oct 30, 2026 21:4069,1832,294,301,4722,270,521,00012,523,0002,121,728stderr
3Oct 30, 2026 21:4069,2862,297,905,6732,275,861,00010,598,0002,121,728stderr
4Oct 30, 2026 21:4069,4842,304,060,8072,282,442,00010,530,0002,121,728stderr
5Oct 30, 2026 21:4069,5182,305,295,3042,282,714,00011,400,0002,121,728stderr
6Oct 30, 2026 21:4069,9032,317,840,5252,295,252,00011,571,0002,121,728stderr
7Oct 30, 2026 21:4070,0192,321,698,7462,300,187,00010,464,0002,121,728stderr
8Oct 30, 2026 21:4070,5712,339,883,7762,317,327,00011,545,0002,121,728stderr
9Oct 30, 2026 21:4080,1292,655,307,4292,633,925,00010,349,0002,121,728stderr