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 29, 2026 22:21Andrew EpsteinAndrew EpsteinScore: 43,040Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 22:2542,9641,429,067,0431,410,493,0007,331,0002,121,728stderr
2Oct 29, 2026 22:2542,9651,428,891,8541,411,614,0006,233,0002,121,728stderr
3Oct 29, 2026 22:2542,9961,430,299,3351,412,544,0006,344,0002,121,728stderr
4Oct 29, 2026 22:2543,0051,430,194,6081,412,928,0006,265,0002,121,728stderr
5Oct 29, 2026 22:2543,0401,431,326,8961,413,078,0007,251,0002,121,728stderr
6Oct 29, 2026 22:2543,0661,432,687,6101,414,973,0006,237,0002,121,728stderr
7Oct 29, 2026 22:2543,1631,435,460,0121,418,053,0006,358,0002,121,728stderr
8Oct 29, 2026 22:2543,1661,435,528,7121,418,257,0006,224,0002,121,728stderr
9Oct 29, 2026 22:2543,2011,436,640,1041,419,227,0006,412,0002,121,728stderr