Anthony
2002-12-06 15:02:37 |
mystery Water Problem
ok i have heard of this problem before but now i can not figure it our. ok here it is
a man drives into town with two full 20 gallon tanks filled with water. two men come to buy water and each want two gallons of water but the problem is that one man has a 5 Gal. can and the other a 3 Gal. can. how with out measuring in anyway or wasting any water can you get 2 gallons in each of the cans. |
Raveen
2002-12-07 01:46:16 |
Answers...
You will find answers to this here -> http://www.flooble.com/perplexus/show.php?pid=238
(Is HTML allowed here?)
BOLD |
Raveen
2002-12-07 01:49:21 |
Link...
Water Question... <a href=\"http://www.flooble.com/perplexus/show.php?pid=238\" Click here for Answers to your question
|
Raveen
2002-12-07 01:50:29 |
Prob..
I'm obviously doing something wrong!
Click Here |
TomM
2002-12-08 13:43:04 |
Re: mystery Water Problem
This is a quite different problem.
You can't waste any water (in fact in the original by Sam LLyod, I believe it is actually milk.)
Also, I believe the two Large tanks the peddler has are filled to the brim (these two are his first customers of the day).
I don't remember the sequence, but it takes a lot of juggling, and (if I recall correctly) in the end, each of the two tanks is down by the two gallons that one of the men bought. |
Raveen
2002-12-09 00:00:44 |
Re: mystery Water Problem
Yes, my mistake. |
lucky
2002-12-13 04:13:09 |
Re: mystery Water Problem
Markings:
1st 20 gallon tank 2nd 20 gallon tank
3 gallon can 5 gallon can
1) fill both cans, each from different tank:
17 15
3 5
2) empty the 3 gallon can into the second tank:
17 18
0 5
3) fill the 3 gallon can from the first tank:
14 18
3 5
4) empty the 5 gallon can into the first tank:
19 18
3 0
5) empty the 3 gallon can into the 5 gallon can:
19 18
0 3
6) fill the 3 gallon can from the second tank:
19 15
3 3
7) fill the 5 gallon can to the top from the 3 gallon can (2 gallons):
19 15
1 5
8) empty 1 gallon from the 3 gallon can into the second tank:
19 16
0 5
9) fill the 3 gallon can from the 5 gallon can:
19 16
3 2
10) fill the first tank to the top from the 3 gallon can:
20 16
2 2
I don't know if what I got is the shortest solution to this problem... |
tom
2003-01-12 07:37:30 |
Re: mystery Water Problem
Well done! |
Tim Axoy
2003-04-17 11:22:49 |
Without wasting any?
Anthony,really can he not waste any of it?
I give up. |