Math
3100. Water Bottles II
Given numBottles full bottles and a number numExchange. Drinking a bottle yields an empty. You may exchange numExchange empties for one full bottle, but after each exchange numExchange increases by…
Loading…
Given numBottles full bottles and a number numExchange. Drinking a bottle yields an empty. You may exchange numExchange empties for one full bottle, but after each exchange numExchange increases by…
Loading…