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 4, 2026 23:42Victor MerckléVictor MerckléScore: 6,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 23:496,194213,586,887202,209,0002,222,0002,121,728stderr
2Sep 4, 2026 23:496,195212,974,437202,246,0002,207,0002,121,728stderr
3Sep 4, 2026 23:496,195212,911,028202,248,0002,205,0002,121,728stderr
4Sep 4, 2026 23:496,195213,207,058202,239,0002,200,0002,121,728stderr
5Sep 4, 2026 23:496,196212,996,763202,316,0002,174,0002,121,728stderr
6Sep 4, 2026 23:496,200212,904,390202,422,0002,207,0002,121,728stderr
7Sep 4, 2026 23:496,200213,128,907202,487,0002,138,0002,121,728stderr
8Sep 4, 2026 23:496,201213,792,460202,401,0002,257,0002,121,728stderr
9Sep 4, 2026 23:496,206213,254,051202,627,0002,172,0002,121,728stderr