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 17:24BenBenScore: 40,856Success
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 17:2540,5361,356,761,8541,297,699,00039,990,0002,441,216
2Apr 21, 2026 17:2540,5381,358,451,9671,294,799,00042,960,0002,445,312
3Apr 21, 2026 17:2540,7071,362,885,1651,297,380,00045,978,0002,428,928
4Apr 21, 2026 17:2540,7081,362,334,6471,293,393,00049,976,0002,453,504
5Apr 21, 2026 17:2540,8561,366,111,3991,299,307,00048,973,0002,437,120
6Apr 21, 2026 17:2540,9001,368,347,5981,303,764,00045,956,0002,457,600
7Apr 21, 2026 17:2541,4731,391,210,9961,323,682,00044,955,0002,453,504
8Apr 21, 2026 17:2541,5041,391,116,3481,320,687,00048,951,0002,449,408
9Apr 21, 2026 17:2541,5311,393,478,7431,316,591,00053,942,0002,449,408