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 listMar 14, 2026 05:02limanjun99limanjun99Score: 416,641Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 14, 2026 05:02415,89113,758,021,58613,640,434,00083,953,0002,277,376
2Mar 14, 2026 05:02415,89213,768,519,34313,641,486,00082,948,0002,457,600
3Mar 14, 2026 05:02416,05713,765,785,76713,665,912,00063,962,0002,260,992
4Mar 14, 2026 05:02416,32513,768,636,14913,664,764,00073,960,0002,277,376
5Mar 14, 2026 05:02416,64113,786,760,99913,669,209,00079,948,0002,494,464
6Mar 14, 2026 05:02417,52813,812,543,47513,699,490,00078,950,0002,441,216
7Mar 14, 2026 05:02418,59313,852,226,48513,729,616,00083,948,0002,293,760
8Mar 14, 2026 05:02418,69413,854,103,38613,732,946,00083,950,0002,498,560
9Mar 14, 2026 05:02425,22614,068,731,63013,957,510,00074,954,0002,404,352