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 listDec 20, 2025 14:51Rajarshi BasuRajarshi BasuScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 14:515,047195,064,969160,557,0005,983,0002,478,080
2Dec 20, 2025 14:515,051194,467,628161,680,0004,990,0002,334,720
3Dec 20, 2025 14:515,060192,219,356159,966,0006,998,0002,510,848
4Dec 20, 2025 14:515,071188,224,600161,331,0006,012,0002,330,624
5Dec 20, 2025 14:515,077193,309,002162,551,0004,986,0002,375,680
6Dec 20, 2025 14:515,078191,009,420160,608,0006,982,0002,527,232
7Dec 20, 2025 14:515,085191,236,572162,805,0004,994,0002,519,040
8Dec 20, 2025 14:515,086193,182,478163,844,0003,996,0002,527,232
9Dec 20, 2025 14:515,088194,523,994161,896,0005,996,0002,310,144
10Dec 20, 2025 14:515,101197,775,880164,323,0004,007,0002,293,760
11Dec 20, 2025 14:515,111190,063,668161,671,0006,985,0002,375,680
12Dec 20, 2025 14:515,114196,454,500163,760,0004,992,0002,392,064