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 29, 2026 14:29TudyMTudyMScore: 25,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 14:3025,696863,855,156823,999,00023,999,0002,330,624
2Apr 29, 2026 14:3025,706868,728,611818,330,00029,975,0002,527,232
3Apr 29, 2026 14:3025,871874,497,507829,754,00023,992,0002,531,328
4Apr 29, 2026 14:3025,917872,751,012827,312,00027,976,0002,531,328
5Apr 29, 2026 14:3025,918873,489,775831,327,00023,980,0002,539,520
6Apr 29, 2026 14:3025,941878,568,298835,065,00021,001,0002,293,760
7Apr 29, 2026 14:3025,992877,488,923830,752,00026,991,0002,416,640
8Apr 29, 2026 14:3026,044879,345,851836,486,00022,985,0002,535,424
9Apr 29, 2026 14:3026,081881,705,572834,666,00026,020,0002,535,424