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 listAug 13, 2025 00:02Leon ZhaoLeon ZhaoScore: 15,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2025 00:0215,505535,739,292498,674,00012,991,0002,473,984
2Aug 13, 2025 00:0215,513538,159,456499,963,00011,975,0002,465,792
3Aug 13, 2025 00:0215,572538,459,585498,922,00014,967,0002,453,504
4Aug 13, 2025 00:0215,576545,340,709499,045,00014,971,0002,437,120
5Aug 13, 2025 00:0215,593543,617,135500,578,00013,988,0002,461,696
6Aug 13, 2025 00:0215,612547,470,641504,211,00010,982,0002,469,888
7Aug 13, 2025 00:0215,614544,172,690502,270,00012,981,0002,490,368
8Aug 13, 2025 00:0215,672549,611,735504,195,00012,979,0002,486,272
9Aug 13, 2025 00:0215,687545,203,809509,670,0007,994,0002,473,984