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

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 16:54Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 17:00020,020,191,30960,022,996,0005,065,00086,016Killed by timeout
2Aug 31, 2026 09:571,67150,143,995118,210,0001,096,0002,174,976stderr
3Aug 31, 2026 09:571,68950,673,097119,592,0001,030,0002,174,976stderr
4Aug 31, 2026 09:571,70551,151,744119,335,0002,032,0002,174,976stderr
5Aug 31, 2026 09:571,70651,194,527120,835,0001,026,0002,174,976stderr
6Aug 31, 2026 09:571,70651,199,280120,966,0001,023,0002,174,976stderr
7Aug 31, 2026 09:571,70851,250,644120,190,0001,010,0002,174,976stderr
8Aug 31, 2026 09:571,71251,371,328120,815,0001,022,0002,174,976stderr
9Aug 31, 2026 09:571,71451,437,912121,251,0001,086,0002,174,976stderr
10Aug 31, 2026 09:571,71951,599,674120,488,0001,023,0002,174,976stderr