Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 30, 2025 23:59Aman | अमनAman | अमनScore: 347,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 23:59344,50110,335,034,24710,253,602,00045,971,0002,609,152
2Dec 30, 2025 23:59344,72510,341,756,55010,266,208,00039,973,0002,572,288
3Dec 30, 2025 23:59345,93810,378,152,74010,301,788,00044,972,0002,736,128
4Dec 30, 2025 23:59346,11410,383,425,26310,306,250,00042,976,0002,637,824
5Dec 30, 2025 23:59347,19810,415,951,23710,336,981,00043,970,0002,703,360
6Dec 30, 2025 23:59347,41410,422,426,89710,346,336,00038,974,0002,764,800
7Dec 30, 2025 23:59347,55710,426,699,02010,354,147,00039,973,0002,756,608
8Dec 30, 2025 23:59347,70510,431,151,05010,357,897,00038,973,0002,555,904
9Dec 30, 2025 23:59348,14510,444,343,71810,364,292,00041,972,0002,580,480