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 09:35limanjun99limanjun99Score: 44,249Success
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 09:3543,7481,475,860,2291,382,690,00060,986,0002,392,064
2Mar 14, 2026 09:3544,0691,489,819,1701,390,296,00063,967,0002,281,472
3Mar 14, 2026 09:3544,1791,485,663,7761,392,917,00064,996,0002,387,968
4Mar 14, 2026 09:3544,1791,488,515,6031,394,965,00062,953,0002,396,160
5Mar 14, 2026 09:3544,2491,485,536,0681,398,239,00061,966,0002,281,472
6Mar 14, 2026 09:3544,2651,491,864,3931,400,787,00059,948,0002,260,992
7Mar 14, 2026 09:3544,3381,492,234,8491,390,211,00072,958,0002,269,184
8Mar 14, 2026 09:3544,4251,494,938,6751,392,075,00073,950,0002,527,232
9Mar 14, 2026 09:3544,6771,500,447,9521,423,355,00050,976,0002,273,280