Problem 3100 · Medium

Water Bottles II

Drink the full bottles, then exchange empties for a full bottle while the exchange cost grows by one each time.

Open the interactive visualisation