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

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 00:48Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 02:28020,007,240,78459,982,966,0006,042,00081,920Killed by timeout
2Aug 31, 2026 09:521,64349,308,647117,044,0001,012,0002,170,880stderr
3Aug 31, 2026 09:521,67550,260,853117,523,0001,008,0002,170,880stderr
4Aug 31, 2026 09:521,67750,311,707119,690,0001,286,0002,170,880stderr
5Aug 31, 2026 09:521,68550,560,507119,822,0002,027,0002,170,880stderr
6Aug 31, 2026 09:521,69550,873,295119,971,0002,015,0002,170,880stderr
7Aug 31, 2026 09:521,69650,886,175119,688,0001,034,0002,170,880stderr
8Aug 31, 2026 09:521,70051,028,229118,166,0001,040,0002,170,880stderr
9Aug 31, 2026 09:521,70251,087,868119,503,0001,034,0002,170,880stderr
10Aug 31, 2026 09:521,72751,831,239119,258,0002,007,0002,170,880stderr