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 18, 2026 00:46Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 20:09Tomislav Tunkovic15.75CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 20:20020,020,727,08660,026,058,0005,017,00081,920Killed by timeout
2Aug 18, 2026 00:511,94758,418,898144,527,0001,220,0002,170,880stderr
3Aug 18, 2026 00:511,96859,059,640145,270,0001,242,0002,170,880stderr
4Aug 18, 2026 00:511,97059,125,670144,384,0001,222,0002,170,880stderr
5Aug 18, 2026 00:511,97759,339,922147,457,0001,151,0002,170,880stderr
6Aug 18, 2026 00:511,98459,549,339148,435,0001,153,0002,170,880stderr
7Aug 18, 2026 00:511,98759,619,018145,434,0001,225,0002,170,880stderr
8Aug 18, 2026 00:511,98959,693,438148,485,0001,219,0002,170,880stderr
9Aug 18, 2026 00:512,04861,457,413153,950,0001,216,0002,170,880stderr
10Aug 18, 2026 00:512,06161,848,077145,523,0001,261,0002,170,880stderr