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 listOct 9, 2026 21:51janwwwjanwwwError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 30, 2026 00:49Andrew Epstein183.99CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 00:500127,621,040108,771,0007,630,0002,134,016expected "2106373 ", got "1860613 "
2Oct 30, 2026 00:500126,870,044108,078,0007,764,0002,138,112expected "2102864 ", got "1857104 "
3Oct 30, 2026 00:500127,185,524108,454,0007,716,0002,138,112expected "2102858 ", got "1857098 "
4Oct 9, 2026 21:545,253157,593,027144,846,0002,104,0002,134,016
5Oct 9, 2026 21:545,273158,207,754145,438,0002,084,0002,134,016
6Oct 9, 2026 21:545,279158,399,273144,889,0002,084,0002,134,016
7Oct 9, 2026 21:545,287158,636,681145,704,0002,082,0002,134,016
8Oct 9, 2026 21:545,305159,179,021146,204,0002,134,0002,134,016
9Oct 9, 2026 21:545,313159,406,353146,558,0002,090,0002,134,016
10Oct 9, 2026 21:545,314159,427,534147,641,0001,019,0002,134,016
11Oct 9, 2026 21:545,373161,199,204148,247,0002,258,0002,134,016
12Oct 9, 2026 21:545,415162,466,672148,457,0002,098,0002,134,016