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 04:33Rajarshi BasuRajarshi BasuScore: 5,812Success
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 04:325,758213,075,766187,011,0003,000,0002,514,944
2Dec 20, 2025 04:325,769217,712,202185,380,0005,010,0002,404,352
3Dec 20, 2025 04:325,780214,160,666184,736,0005,991,0002,289,664
4Dec 20, 2025 04:285,782215,651,368186,804,0003,995,0002,514,944
5Dec 20, 2025 04:335,793213,392,984185,149,0006,004,0002,519,040
6Dec 20, 2025 04:335,794220,634,454186,189,0005,005,0002,342,912
7Dec 20, 2025 04:325,795215,165,322186,230,0005,006,0002,510,848
8Dec 20, 2025 04:325,798218,794,363185,339,0006,011,0002,510,848
9Dec 20, 2025 04:285,806218,936,514187,592,0003,991,0002,514,944
10Dec 20, 2025 04:325,812219,491,421186,807,0004,994,0002,408,448
11Dec 20, 2025 04:285,814220,226,419186,876,0004,996,0002,523,136
12Dec 20, 2025 04:325,821218,504,957186,105,0006,003,0002,506,752
13Dec 20, 2025 04:325,828218,430,048186,330,0006,010,0002,519,040
14Dec 20, 2025 04:335,849217,455,206189,016,0004,000,0002,297,856
15Dec 20, 2025 04:336,076226,121,344194,538,0005,985,0002,281,472
16Dec 20, 2025 04:336,135234,715,143196,460,0005,983,0002,338,816
17Dec 20, 2025 04:326,423238,072,784207,946,0003,998,0002,519,040
18Dec 20, 2025 04:336,515244,808,866208,996,0005,999,0002,510,848