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 18, 2026 01:06Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 21:54Tomislav Tunkovic14.64CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 21:57020,021,231,65660,025,134,0006,097,00086,016Killed by timeout
2Aug 18, 2026 01:101,90657,184,912140,717,0001,004,0002,170,880stderr
3Aug 18, 2026 01:101,91157,338,100140,996,0001,006,0002,170,880stderr
4Aug 18, 2026 01:101,91857,563,251140,303,0001,003,0002,170,880stderr
5Aug 18, 2026 01:101,91857,561,519141,322,0001,263,0002,170,880stderr
6Aug 18, 2026 01:101,92857,840,769142,025,0001,026,0002,170,880stderr
7Aug 18, 2026 01:101,94458,343,736142,583,0001,008,0002,170,880stderr
8Aug 18, 2026 01:101,95058,529,053144,895,0001,263,0002,170,880stderr
9Aug 18, 2026 01:101,97059,121,950141,530,0001,011,0002,170,880stderr
10Aug 18, 2026 01:102,04661,406,699152,527,0001,022,0002,170,880stderr