Problem 2383 · Easy

Minimum Hours of Training to Win a Competition

Train energy once for the total cost, then train experience just enough to beat each opponent in turn.

Open the interactive visualisation