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 19, 2025 11:29Rajarshi BasuRajarshi BasuScore: 6,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2025 11:316,237234,371,100200,823,0004,995,0002,482,176
2Dec 19, 2025 11:316,238230,647,019198,855,0006,994,0002,469,888
3Dec 19, 2025 11:316,249228,417,281200,199,0006,005,0002,355,200
4Dec 19, 2025 11:316,260236,575,509199,591,0006,985,0002,375,680
5Dec 19, 2025 11:316,261235,357,447196,640,0009,981,0002,412,544
6Dec 19, 2025 11:316,284234,114,882200,344,0007,012,0002,400,256
7Dec 19, 2025 11:316,284233,933,561199,370,0008,014,0002,420,736
8Dec 19, 2025 11:316,357233,361,372200,783,0008,990,0002,387,968
9Dec 19, 2025 11:316,438239,168,736207,454,0004,986,0002,342,912
10Dec 19, 2025 11:297,469273,069,823238,484,0007,982,0002,523,136
11Dec 19, 2025 11:297,559276,632,943243,445,0005,986,0002,379,776
12Dec 19, 2025 11:297,599276,580,301245,774,0004,995,0002,379,776