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 13:58limanjun99limanjun99Score: 33,391Success
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 13:5832,9321,112,443,4131,079,771,0006,998,0002,490,368
2Mar 14, 2026 13:5833,0121,111,289,4971,080,407,0008,995,0002,433,024
3Mar 14, 2026 13:5833,1551,121,366,6381,086,108,0007,993,0002,502,656
4Mar 14, 2026 13:5833,2701,124,148,0211,093,926,0003,999,0002,506,752
5Mar 14, 2026 13:5833,3911,130,746,1991,091,897,0009,999,0002,445,312
6Mar 14, 2026 13:5833,4541,132,197,3621,092,999,00010,999,0002,371,584
7Mar 14, 2026 13:5833,6341,139,770,5131,101,910,0007,999,0002,338,816
8Mar 14, 2026 13:5834,9341,178,342,8901,145,820,0006,998,0002,490,368
9Mar 14, 2026 13:5835,4861,197,232,8731,161,050,0009,991,0002,502,656