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

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 12:19Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 12:21020,020,966,69360,021,980,0004,099,00086,016Killed by timeout
2Aug 16, 2026 21:592,13464,042,814154,102,0002,033,0002,191,360stderr
3Aug 16, 2026 21:592,14364,311,685155,771,0002,062,0002,187,264stderr
4Aug 16, 2026 21:592,14764,432,914154,456,0002,034,0002,187,264stderr
5Aug 16, 2026 21:592,15164,547,874156,287,0002,088,0002,187,264stderr
6Aug 16, 2026 21:592,15264,578,985156,390,0002,013,0002,187,264stderr
7Aug 16, 2026 21:592,15364,602,781155,715,0002,000,0002,191,360stderr
8Aug 16, 2026 21:592,15564,666,844156,537,0001,002,0002,236,416stderr
9Aug 16, 2026 21:592,16164,854,868156,850,0002,008,0002,187,264stderr
10Aug 16, 2026 21:592,17765,315,987155,764,0001,023,0002,236,416stderr