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:50Oleg SkinderevOleg SkinderevScore: 264,927Success
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:50261,0358,640,906,0128,567,166,00046,973,0002,301,952
2Apr 10, 2026 18:50264,4228,760,252,2258,664,966,00060,964,0002,416,640
3Apr 10, 2026 18:50264,7868,770,245,8398,676,987,00060,964,0002,445,312
4Apr 10, 2026 18:50264,9078,776,004,5898,678,968,00062,963,0002,519,040
5Apr 10, 2026 18:50264,9278,777,199,6518,680,643,00061,961,0002,445,312
6Apr 10, 2026 18:50266,2128,820,526,8618,723,044,00061,964,0002,355,200
7Apr 10, 2026 18:50267,2428,851,075,2928,755,031,00063,963,0002,424,832
8Apr 10, 2026 18:50267,4658,862,201,6908,765,381,00060,967,0002,445,312
9Apr 10, 2026 18:50267,5198,866,218,1708,754,174,00073,959,0002,486,272