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:06Rajarshi BasuRajarshi BasuScore: 5,504Success
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:065,456202,710,222174,043,0006,001,0002,514,944
2Dec 20, 2025 05:065,464202,942,388175,292,0005,008,0002,441,216
3Dec 20, 2025 05:065,476203,133,844174,719,0005,990,0002,519,040
4Dec 20, 2025 05:065,486204,095,255175,043,0006,001,0002,494,464
5Dec 20, 2025 05:065,489204,722,795174,126,0007,005,0002,449,408
6Dec 20, 2025 05:065,491209,333,888176,212,0005,006,0002,510,848
7Dec 20, 2025 05:065,495215,330,298176,323,0005,009,0002,506,752
8Dec 20, 2025 05:065,497213,540,239175,399,0006,013,0002,424,832
9Dec 20, 2025 05:065,498207,590,514174,450,0006,978,0002,428,928
10Dec 20, 2025 05:065,498204,527,853175,430,0006,014,0002,449,408
11Dec 20, 2025 05:065,504205,068,532176,643,0004,989,0002,359,296
12Dec 20, 2025 05:065,504212,254,057177,637,0003,991,0002,428,928
13Dec 20, 2025 05:065,510205,195,448174,833,0006,993,0002,461,696
14Dec 20, 2025 05:065,514207,053,362175,961,0005,998,0002,514,944
15Dec 20, 2025 05:065,515210,871,558179,990,0001,999,0002,506,752
16Dec 20, 2025 05:065,524204,935,752177,288,0005,008,0002,404,352
17Dec 20, 2025 05:065,545207,900,352176,979,0005,999,0002,342,912
18Dec 20, 2025 05:065,553211,103,984176,230,0007,009,0002,506,752
19Dec 20, 2025 05:065,728211,750,570184,016,0005,000,0002,523,136
20Dec 20, 2025 05:065,755213,549,783183,905,0005,996,0002,514,944
21Dec 20, 2025 05:065,807213,744,590186,653,0004,990,0002,453,504