That's a Gaaame???
I thought it was some nightmarish exercise in recurssion my old functional
programming prof tortured us with *wink*
> Take a look at the Towers of Hanoi game inside Emacs. The code should
> be similar to what you're trying to solve.
>
> --
> Steve Philp
> Network Administ
On Sat, 20 Nov 1999, you wrote:
> what i was thinking of, was more or less an interative game type, which will
> take user input too move the buckets around ie: poring water between them , with
> both sollutions incorperated into the game.
>
> Does this make sence?
>
Oh yes most definitely. tr
"Ronald J. Yacketta" wrote:
>
> David wrote:
> >
> > >
> dump 2 gallons water out fo bucket a and 3 out of bucket b, then dump
> bucket b into a giving 4 galons ;) *snicker* I know,its not the right
> answer, but it does give 4 gallons
> >
> > Hello All...
> >
> > Ok maybe this is not a "Fact
David wrote:
> U have 1, 3 gallon bucket
> " " " 1, 5 gallon bucket
>
> u absolutely need "exactly" 4 gallon's of water
Fill the 3-gallon bucket, empty it into the 5-gallon one. Fill it
again, empty what will fit into the 5-gallon bucket. Pour the remainder
(in the 3-gallon bucke
hmmm
1. Go to video Store
2. Rent Die hard III
3. Fast Forward to the park scene
4. Take notes
(sorry...couldn't resist)
On Sun, 21 Nov 1999, you wrote:
> 1. Fill the 5 gallon bucket using the 3 gallon bucket. Now there is 3 gallon
> of water in the 5 gallon bucket. And you can add 2 more gallo
- Original Message -
From: Andrew M George <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 20, 1999 7:12 AM
Subject: RE: [newbie] OT: useless factoid part deux
> hmmm
> 1. Go to video Store
> 2. Rent Die hard III
> 3. Fast Forward to the park scene
&g
; - Original Message -
> From: Andrew M George <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, November 20, 1999 7:12 AM
> Subject: RE: [newbie] OT: useless factoid part deux
>
>
> > hmmm
> > 1. Go to video Store
> > 2. R
The buckets were built by automated machines being run by a Linux machine AND
the water is straight from Linus T's faucet :)
On Fri, 19 Nov 1999, you wrote:
> David wrote:
>
> > U have 1, 3 gallon bucket
> > " " " 1, 5 gallon bucket
> >
> > u absolutely need "exactly" 4 gallon's of water
>
David wrote:
>
> >
dump 2 gallons water out fo bucket a and 3 out of bucket b, then dump
bucket b into a giving 4 galons ;) *snicker* I know,its not the right
answer, but it does give 4 gallons
>
> Hello All...
>
> Ok maybe this is not a "Factoid" per sebut just a little quiz to burn so
On Fri, 19 Nov 1999, you wrote:
>actually what i am looking for is if anyone would be able to
> translate that into
> >a wee app for X,.. Written in C, as the song goes
Give me some more particulars for this. . .i mean do you want it to take user
input, make in a game sort of thing or ju
1. Fill the 5 gallon bucket using the 3 gallon bucket. Now there is 3 gallon
of water in the 5 gallon bucket. And you can add 2 more gallon of water to
fulfil it.
2. Once again fill the 5 gallon bucket using the 3 gallon bucket. Now you
have exactlt 1 gallon of water left in your 3 gallon bucket.
Fill 3 gal empty into 5 gal
Fill 3 gal fill 5 gal full.
You have 1 gal left in bucket.
Empty 5 gal pail.
pour remaining one gal into 5 gal
file three gal and empty into 5 gal pail.
voila, you have 4 gal in the five gal pail.
Sorry all, I couldn't resist.
Ron
David wrote:
>
> >
>
> Hello All.
Fill up the 3gallon bucket with water. Empty it into the 5 gallon bucket.
You now have exactly 3 gallons in the 5 gallon bucket. Fill up the 3 gallon
bucket again. Empty it into the 5 gallon bucket until you have exactly 5
gallons. This means you have removed 2 gallons from the 3 gallon bucket and
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
F
14 matches
Mail list logo