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 16, 2026 22:36Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 12:21Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 12:22020,019,623,86360,022,844,0003,023,00086,016Killed by timeout
2Aug 16, 2026 22:392,14164,233,969161,670,0001,281,0002,170,880stderr
3Aug 16, 2026 22:392,14564,375,169160,507,0001,244,0002,170,880stderr
4Aug 16, 2026 22:392,17965,390,944161,200,0001,239,0002,170,880stderr
5Aug 16, 2026 22:392,28868,651,438167,729,0008,135,0002,154,496stderr
6Aug 16, 2026 22:392,29668,905,978160,494,0001,247,0002,170,880stderr
7Aug 16, 2026 22:392,31869,544,531170,696,0003,038,0002,170,880stderr
8Aug 16, 2026 22:392,47274,163,795171,219,0002,283,0002,170,880stderr
9Aug 16, 2026 22:392,50075,004,035171,103,0002,302,0002,170,880stderr
10Aug 16, 2026 22:392,54276,275,541164,473,0003,068,0002,170,880stderr