1998-10-06 - Re: camels and bananas, for some reason.

Header Data

From: <dan@nixon.ocis.temple.edu>
To: cypherpunks@toad.com
Message Hash: 0dc58778a58c3ecf6f8b8eb5cb9163bd2953fe209f40cd07a358dcfb6caf8c55
Message ID: <Pine.OSF.3.96.981006132330.24753C-100000@nixon.ocis.temple.edu>
Reply To: <3.0.5.32.19981006004529.00827b20@idiom.com>
UTC Datetime: 1998-10-06 04:50:39 UTC
Raw Date: Tue, 6 Oct 1998 12:50:39 +0800

Raw message

From: <dan@nixon.ocis.temple.edu>
Date: Tue, 6 Oct 1998 12:50:39 +0800
To: cypherpunks@toad.com
Subject: Re: camels and bananas, for some reason.
In-Reply-To: <3.0.5.32.19981006004529.00827b20@idiom.com>
Message-ID: <Pine.OSF.3.96.981006132330.24753C-100000@nixon.ocis.temple.edu>
MIME-Version: 1.0
Content-Type: text/plain



At 12:59 PM 10/3/98 -0400, Michael Motyka wrote:
> There is a desert which is 1000 miles across. There is a camel who can 
> carry 1000 bananas maximum. The camel eats 1 banana per mile travelled.
> The camel has a total of 3000 bananas to begin with. What is the maximum
> number of bananas that the camel can get across to the other side
> uneaten?

I had to solve this problem before, don't remember specifics (of the whole 
process that is), but to get the bananas across, you couldn't just carry
them straight through, you had to drop some off, i.e. carry 1000 bananas,
walk 333 miles (eating 333 bananas), drop off 334, walk back (finishing off
the remaining ones), then when you got to that point again, (the 333 mark)
you would have 1000 again... the answer was 533+(1/3) iirc





Thread