Problem 3273 · Hard

Minimum Amount of Damage Dealt to Bob

Defeat enemies in order of attacks-needed over damage, the exchange-argument order that minimizes total damage taken.

Open the interactive visualisation