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 10, 2026 18:54Oleg SkinderevOleg SkinderevScore: 248,417Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 18:54246,1508,161,520,2928,048,013,00074,953,0002,273,280
2Apr 10, 2026 18:54247,0368,183,724,3428,089,239,00062,962,0002,494,464
3Apr 10, 2026 18:54247,1538,189,594,9428,110,062,00045,972,0002,330,624
4Apr 10, 2026 18:54247,7398,202,756,4848,113,418,00061,965,0002,306,048
5Apr 10, 2026 18:54248,4178,235,152,7418,136,794,00060,960,0002,342,912
6Apr 10, 2026 18:54248,6468,238,716,3768,145,344,00059,965,0002,420,736
7Apr 10, 2026 18:54249,7688,279,128,8178,179,394,00062,964,0002,269,184
8Apr 10, 2026 18:54250,2668,296,991,5228,195,814,00062,960,0002,478,080
9Apr 10, 2026 18:54250,3228,297,785,2988,193,655,00066,964,0002,437,120