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 23:39Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 02:47Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 04:17020,020,591,40360,023,488,0005,022,00086,016Killed by timeout
2Aug 17, 2026 23:472,02260,667,448150,994,0001,236,0002,170,880stderr
3Aug 17, 2026 23:472,02660,783,265151,320,0001,153,0002,170,880stderr
4Aug 17, 2026 23:472,03260,980,907149,341,0001,240,0002,170,880stderr
5Aug 17, 2026 23:472,04061,221,823153,689,0001,153,0002,170,880stderr
6Aug 17, 2026 23:472,04861,446,408150,735,0001,239,0002,170,880stderr
7Aug 17, 2026 23:472,05661,681,935150,650,0001,235,0002,170,880stderr
8Aug 17, 2026 23:472,10763,237,982159,223,0001,153,0002,170,880stderr
9Aug 17, 2026 23:472,11563,476,292156,960,0001,227,0002,170,880stderr
10Aug 17, 2026 23:472,14764,413,823157,633,0001,234,0002,170,880stderr