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 17, 2026 16:06Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 03:15Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 04:42020,006,191,76059,979,565,0007,023,00086,016Killed by timeout
2Aug 17, 2026 16:072,03561,066,964153,275,0001,168,0002,170,880stderr
3Aug 17, 2026 16:072,05261,583,839154,170,0001,182,0002,170,880stderr
4Aug 17, 2026 16:072,05561,650,520153,708,0001,224,0002,170,880stderr
5Aug 17, 2026 16:072,05761,719,559153,932,0001,247,0002,170,880stderr
6Aug 17, 2026 16:072,06461,937,984154,691,0001,153,0002,170,880stderr
7Aug 17, 2026 16:072,06962,095,465155,041,0001,260,0002,170,880stderr
8Aug 17, 2026 16:072,07262,178,838154,224,0001,248,0002,170,880stderr
9Aug 17, 2026 16:072,07862,365,717154,417,0001,234,0002,170,880stderr
10Aug 17, 2026 16:072,07962,391,207154,404,0001,229,0002,170,880stderr