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 11, 2025 19:48Leon ZhaoLeon ZhaoScore: 127,852Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2025 19:48124,7464,151,064,1654,101,620,00014,991,0002,301,952
2Aug 11, 2025 19:48126,4864,205,630,8084,155,057,00018,991,0002,330,624
3Aug 11, 2025 19:48127,3274,230,507,2304,185,798,00015,991,0002,510,848
4Aug 11, 2025 19:48127,6974,241,310,6134,201,000,00012,993,0002,400,256
5Aug 11, 2025 19:48127,8524,254,118,1604,202,112,00016,988,0002,293,760
6Aug 11, 2025 19:48128,6604,277,166,6864,226,792,00018,990,0002,494,464
7Aug 11, 2025 19:48129,0944,293,563,5484,245,120,00014,989,0002,371,584
8Aug 11, 2025 19:48129,4454,305,743,4114,251,699,00019,989,0002,338,816
9Aug 11, 2025 19:48130,3404,328,745,0204,292,232,0008,994,0002,502,656