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 26, 2025 14:08Dmitry YudakovDmitry YudakovScore: 109,753Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 14:08108,4443,610,701,7123,561,654,00016,988,0002,342,912
2Apr 26, 2025 14:08108,7193,618,635,8033,568,733,00018,987,0002,416,640
3Apr 26, 2025 14:08109,1163,631,751,4663,580,829,00019,987,0002,392,064
4Apr 26, 2025 14:08109,5413,644,325,8213,600,854,00013,991,0002,461,696
5Apr 26, 2025 14:08109,7533,648,802,1693,605,854,00015,990,0002,457,600
6Apr 26, 2025 14:08109,8933,658,295,6293,613,480,00012,990,0002,441,216
7Apr 26, 2025 14:08113,9743,789,232,7763,744,158,00016,991,0002,510,848
8Apr 26, 2025 14:08114,4483,802,080,0933,758,780,00017,989,0002,306,048
9Apr 26, 2025 14:08114,8683,817,462,9383,769,645,00020,986,0002,396,160