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 23:09Andrew EpsteinAndrew EpsteinScore: 38,597Success
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 23:1038,4311,279,709,2261,260,965,0007,285,0002,121,728stderr
2Oct 30, 2026 23:1038,5531,283,289,2821,265,042,0007,235,0002,121,728stderr
3Oct 30, 2026 23:1038,5601,283,475,4431,265,204,0007,300,0002,121,728stderr
4Oct 30, 2026 23:1038,5831,284,344,1491,266,035,0007,231,0002,121,728stderr
5Oct 30, 2026 23:1038,5971,284,717,6581,266,474,0007,249,0002,121,728stderr
6Oct 30, 2026 23:1038,7031,288,816,0661,269,965,0007,237,0002,121,728stderr
7Oct 30, 2026 23:1038,8961,296,615,4241,276,316,0007,260,0002,121,728stderr
8Oct 30, 2026 23:1039,0431,299,350,9921,280,912,0007,518,0002,121,728stderr
9Oct 30, 2026 23:1039,0811,300,686,9191,282,367,0007,318,0002,121,728stderr