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 04:55limanjun99limanjun99Score: 441,628Success
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 04:55438,10914,498,740,33214,372,654,00084,950,0002,494,464
2Mar 14, 2026 04:55438,49014,509,088,61614,381,231,00088,945,0002,306,048
3Mar 14, 2026 04:55438,88414,517,518,97514,408,206,00074,954,0002,314,240
4Mar 14, 2026 04:55441,18414,597,873,66414,470,126,00088,945,0002,383,872
5Mar 14, 2026 04:55441,62814,612,696,69714,497,765,00075,951,0002,326,528
6Mar 14, 2026 04:55442,66514,642,603,63614,536,998,00070,960,0002,379,776
7Mar 14, 2026 04:55443,98814,688,766,17314,566,661,00084,951,0002,498,560
8Mar 14, 2026 04:55445,39914,733,272,73114,623,204,00074,954,0002,367,488
9Mar 14, 2026 04:55446,62414,776,257,13114,646,656,00091,947,0002,326,528