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 15:24Andrew EpsteinAndrew EpsteinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 12:56Tomislav Tunkovic47.76CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 12:56020,021,411,76919,959,965,00040,534,00081,920Killed by timeout
2Aug 23, 2026 15:2517,485524,559,151505,130,0008,798,0002,125,824
3Aug 23, 2026 15:2517,489524,696,066505,508,0008,288,0002,125,824
4Aug 23, 2026 15:2517,489524,676,165505,276,0008,666,0002,125,824
5Aug 23, 2026 15:2517,500525,008,840506,092,0008,260,0002,125,824
6Aug 23, 2026 15:2517,557526,735,326507,814,0008,018,0002,125,824
7Aug 23, 2026 15:2517,610528,328,472508,437,0009,020,0002,125,824
8Aug 23, 2026 15:2517,641529,241,450508,514,0009,045,0002,125,824
9Aug 23, 2026 15:2517,673530,204,900510,205,0009,063,0002,125,824
10Aug 23, 2026 15:2518,303549,099,209522,383,00010,076,0002,125,824