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 24, 2026 08:31Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 21:58Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 22:06020,020,514,36460,023,766,0005,035,00069,632Killed by timeout
2Aug 24, 2026 08:321,67850,341,355119,149,0002,024,0002,170,880stderr
3Aug 24, 2026 08:321,69550,858,031118,834,0001,026,0002,170,880stderr
4Aug 24, 2026 08:321,69850,962,096119,016,0002,024,0002,170,880stderr
5Aug 24, 2026 08:321,70151,048,172120,678,0002,030,0002,170,880stderr
6Aug 24, 2026 08:321,71251,382,137120,122,0001,029,0002,170,880stderr
7Aug 24, 2026 08:321,71851,548,892122,533,0001,023,0002,170,880stderr
8Aug 24, 2026 08:321,71951,589,292122,824,0002,038,0002,170,880stderr
9Aug 24, 2026 08:321,73251,963,447123,243,0002,020,0002,170,880stderr
10Aug 24, 2026 08:321,83455,034,877120,972,0002,039,0002,170,880stderr