Problem 2739 · Easy
Burn fuel in chunks of five liters, topping up the main tank from the auxiliary tank after each chunk.
Open the interactive visualisation