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 22:02Andrew EpsteinAndrew EpsteinScore: 42,031Success
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 22:0341,8381,391,707,0941,373,260,0007,402,0002,121,728stderr
2Oct 30, 2026 22:0341,8451,392,918,4961,373,412,0007,476,0002,121,728stderr
3Oct 30, 2026 22:0341,9011,393,983,2801,375,410,0007,350,0002,121,728stderr
4Oct 30, 2026 22:0341,9191,394,494,7751,374,959,0008,372,0002,121,728stderr
5Oct 30, 2026 22:0342,0311,398,082,5481,379,698,0007,328,0002,121,728stderr
6Oct 30, 2026 22:0342,0391,399,728,3321,380,052,0007,260,0002,121,728stderr
7Oct 30, 2026 22:0342,0891,399,979,3931,380,650,0008,296,0002,121,728stderr
8Oct 30, 2026 22:0342,3241,407,698,2221,389,267,0007,444,0002,121,728stderr
9Oct 30, 2026 22:0342,6991,420,104,5071,401,726,0007,352,0002,121,728stderr