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 22, 2026 17:51Matthias GörgensMatthias GörgensScore: 10,290Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2026 17:5210,199346,862,132329,272,0007,317,0002,117,632stderr
2Sep 22, 2026 17:5210,231347,906,746330,120,0007,503,0002,117,632stderr
3Sep 22, 2026 17:5210,242348,293,311330,538,0007,466,0002,117,632stderr
4Sep 22, 2026 17:5210,257350,411,887331,013,0007,483,0002,117,632stderr
5Sep 22, 2026 17:5210,290349,834,209332,250,0007,334,0002,117,632stderr
6Sep 22, 2026 17:5210,296349,998,037332,507,0007,273,0002,117,632stderr
7Sep 22, 2026 17:5210,298350,135,576332,362,0007,496,0002,117,632stderr
8Sep 22, 2026 17:5210,324351,025,053333,218,0007,504,0002,117,632stderr
9Sep 22, 2026 17:5210,330351,127,156333,630,0007,289,0002,117,632stderr