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 listApr 21, 2026 04:12limanjun99limanjun99Score: 17,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 04:1317,105586,715,693560,478,0003,996,0002,494,464
2Apr 21, 2026 04:1317,147594,611,433561,875,0003,999,0002,494,464
3Apr 21, 2026 04:1317,267593,622,554565,841,0003,998,0002,494,464
4Apr 21, 2026 04:1317,316598,648,359566,450,0004,995,0002,490,368
5Apr 21, 2026 04:1317,320594,694,771567,581,0003,997,0002,494,464
6Apr 21, 2026 04:1317,320599,485,122567,571,0003,996,0002,285,568
7Apr 21, 2026 04:1317,376597,637,849569,432,0003,996,0002,506,752
8Apr 21, 2026 04:1317,439598,843,646571,521,0003,996,0002,490,368
9Apr 21, 2026 04:1317,450600,707,580571,857,0003,999,0002,490,368