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

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 01:06Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 02:49020,020,239,64860,020,018,0006,019,00090,112Killed by timeout
2Aug 31, 2026 10:181,71251,379,297118,006,0002,074,0002,174,976stderr
3Aug 31, 2026 10:181,72551,759,911120,526,0001,090,0002,174,976stderr
4Aug 31, 2026 10:181,72651,785,856120,840,0001,094,0002,174,976stderr
5Aug 31, 2026 10:181,72651,801,609121,237,0001,092,0002,174,976stderr
6Aug 31, 2026 10:181,72951,898,422120,669,0001,045,0002,174,976stderr
7Aug 31, 2026 10:181,73051,918,410120,548,0001,093,0002,174,976stderr
8Aug 31, 2026 10:181,73251,979,559119,765,0001,090,0002,174,976stderr
9Aug 31, 2026 10:181,73251,981,588120,186,0001,061,0002,174,976stderr
10Aug 31, 2026 10:181,74452,323,717120,282,0002,024,0002,174,976stderr