Fill the 5 gallon bucket twice and pour it into the 3 gallon bucket each
time letting the 3 gallon bucket overflow. You will have exactly 4
gallons of water all over the ground. You didn't specify where you
wanted the water so I assumed an overflow condition would be acceptable.
:)
Ken Wilson
First Law of Optimisation: The speed of a non-working program is
irrelevant
(Steve Heller, 'Efficient C/C++ Programming')
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David
Sent: November 19, 1999 5:34 PM
To: [EMAIL PROTECTED]
Subject: [newbie] OT: useless factoid part deux
>
Hello All.......
Ok maybe this is not a "Factoid" per se....but just a little quiz to
burn some
brain cells, ( then again for some maybe not even that :) )
U have 1, 3 gallon bucket
" " " 1, 5 gallon bucket
u absolutely need "exactly" 4 gallon's of water
How to do?
Rule: the only measuring device allowed r the buckets
unlimited water supply
<snip>