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 05:29Rajarshi BasuRajarshi BasuScore: 5,481Success
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 05:255,415202,844,734174,717,0003,993,0002,478,080
2Dec 20, 2025 05:255,446202,761,776173,743,0005,991,0002,433,024
3Dec 20, 2025 05:255,460209,063,836174,172,0006,005,0002,523,136
4Dec 20, 2025 05:255,466208,200,545175,353,0005,010,0002,330,624
5Dec 20, 2025 05:255,470212,067,167172,528,0007,978,0002,514,944
6Dec 20, 2025 05:295,477207,812,885174,746,0005,991,0002,482,176
7Dec 20, 2025 05:255,481202,502,538173,888,0006,995,0002,510,848
8Dec 20, 2025 05:255,484209,435,858175,986,0004,999,0002,375,680
9Dec 20, 2025 05:295,487203,751,274177,057,0004,001,0002,297,856
10Dec 20, 2025 05:255,502205,735,519175,592,0005,986,0002,269,184
11Dec 20, 2025 05:295,538205,718,180177,775,0004,993,0002,367,488
12Dec 20, 2025 05:255,749212,956,132185,721,0003,994,0002,519,040