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 listAug 23, 2026 17:55Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 01:40Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 03:27020,019,697,71060,024,255,0004,034,00086,016Killed by timeout
2Aug 23, 2026 17:571,78053,407,003129,205,0001,239,0002,170,880stderr
3Aug 23, 2026 17:571,78953,697,451129,881,0001,210,0002,170,880stderr
4Aug 23, 2026 17:571,81154,334,899132,373,0002,043,0002,170,880stderr
5Aug 23, 2026 17:571,82454,740,409131,711,0001,005,0002,170,880stderr
6Aug 23, 2026 17:571,86956,089,411134,854,0001,004,0002,170,880stderr
7Aug 23, 2026 17:571,87656,292,004137,119,0001,013,0002,170,880stderr
8Aug 23, 2026 17:571,90657,186,370138,268,0001,007,0002,170,880stderr
9Aug 23, 2026 17:571,91257,385,908140,600,0002,055,0002,170,880stderr
10Aug 23, 2026 17:571,94158,247,799141,351,0001,010,0002,170,880stderr