Problem 2412 · Hard

Minimum Money Required Before Transactions

Money must cover the worst order, so each transaction is tried as the last one, with every other loss paid first.

Open the interactive visualisation