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 07:26Victor MerckléVictor MerckléScore: 2,898Success
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 07:292,882104,263,01992,919,0002,187,0002,121,728stderr
2Sep 4, 2026 07:292,893104,290,42993,295,0002,206,0002,121,728stderr
3Sep 4, 2026 07:292,893103,808,67193,301,0002,188,0002,121,728stderr
4Sep 4, 2026 07:292,895103,850,05593,334,0002,222,0002,121,728stderr
5Sep 4, 2026 07:292,898104,285,19493,491,0002,175,0002,121,728stderr
6Sep 4, 2026 07:292,901104,283,62193,405,0002,338,0002,121,728stderr
7Sep 4, 2026 07:292,930105,996,96894,475,0002,244,0002,121,728stderr
8Sep 4, 2026 07:292,930105,976,26194,449,0002,246,0002,121,728stderr
9Sep 4, 2026 07:292,934105,291,32094,637,0002,186,0002,121,728stderr