A farmer needs 10 gallons of water. He has only four unmarked buckets, three 8 gallon and one 13 gallon bucket.
Determine how he can collect 10 gallons of water using these four unmarked buckets.
Provide the solution with minimal water wastage.
Different method, unfortunately no better:
8,8,0,0 fill 2 8s
0,3,0,13
8,3,5,0
0,0,5,11
0,0,5,13 add 2 to 13
8,5,5,0
8,0,0,10
|
Posted by broll
on 2024-06-25 03:27:44 |