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 12, 2026 21:49janwwwjanwwwError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 29, 2026 23:06Andrew Epstein111.22CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 23:19014,629,1162,656,0001,357,0002,170,880expected "111105 ", got "111104 "
2Oct 29, 2026 23:19063,959,266129,286,0007,575,0002,203,648expected "2105855 ", got "1860095 "
3Oct 29, 2026 23:1941512,459,73001,957,0002,170,880
4Oct 12, 2026 21:501,77253,183,777120,062,0001,019,0002,166,784
5Oct 12, 2026 21:501,78953,680,363121,714,0001,015,0002,166,784
6Oct 12, 2026 21:501,79253,761,271122,772,0001,007,0002,166,784
7Oct 12, 2026 21:501,79653,885,200122,499,0001,016,0002,166,784
8Oct 12, 2026 21:501,79953,986,748121,927,0001,014,0002,166,784
9Oct 12, 2026 21:501,80054,008,391123,104,0001,133,0002,166,784
10Oct 12, 2026 21:501,82054,615,492122,729,0001,012,0002,166,784
11Oct 12, 2026 21:501,82154,651,260123,891,0001,016,0002,166,784
12Oct 12, 2026 21:501,82154,655,352124,000,0001,011,0002,166,784