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

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 01:07Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 02:51020,020,926,98260,026,434,0005,027,00086,016Killed by timeout
2Aug 23, 2026 17:341,88056,408,962137,648,0001,011,0002,170,880stderr
3Aug 23, 2026 17:341,89256,762,024139,593,0001,229,0002,170,880stderr
4Aug 23, 2026 17:341,89856,945,218138,576,0001,036,0002,170,880stderr
5Aug 23, 2026 17:341,91557,471,126140,335,0002,011,0002,170,880stderr
6Aug 23, 2026 17:341,92257,671,783140,192,0001,014,0002,170,880stderr
7Aug 23, 2026 17:341,93257,975,520143,377,0001,284,0002,170,880stderr
8Aug 23, 2026 17:341,93958,185,022144,827,0001,254,0002,170,880stderr
9Aug 23, 2026 17:341,97959,379,817146,942,0002,037,0002,170,880stderr
10Aug 23, 2026 17:342,00360,090,918144,701,0001,208,0002,170,880stderr