Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Justin Thyme <JustinThyme@nowhere.com> |
|---|---|
| Newsgroups | sci.logic |
| Subject | Re: puzzle: Cross the desert |
| Date | 2016-02-11 16:44 +0000 |
| Organization | albasani.net |
| Message-ID | <n9idpm$ms0$1@news.albasani.net> (permalink) |
| References | <e46eb715-2ac3-4f34-89c7-a2606d7a57a8@googlegroups.com> |
rdelaney2001@gmail.com wrote: > You are stranded in a desert, at a base station, > looking to get home. There's a rescue truck, > 11 miles away. Along the route, there is a > series of rest stations, one at each mile. > > To make this long trip, you need water. You > have a wagon, which can carry up to 7 liters. > You drink one liter of water during the hike > between each station, forward or backward Nathan Fine solved this problem. I'll see if I can find a reference. > > Clearly, you cannot make it in one shot. However, > you may store any quantity of water at the rest > stations. Hence the solution: a series of hikes, > back and forth,dropping and picking up water, until > you ultimately arrive at the rescue point. > > What is the minimum initial quantity of water required, > at the base? > > This case isn't hard, as 11 miles is a short > distance. But imagine it's 20 to the rescue station, > that would be a lot of work! > > Note the problem statement: not merely to find > a procedure to reach safety, but also minimizing > the store of water. So, for a long walk, you > could find an algorithm solution; but how would > you show your algorithm is optimal? > > -- > Rich > -- Nam Nguyen: *As we speak*, MS and NN would understand what "blue" would mean. Martin Shobe: No I don't. You could mean the color, the feeling, or given your past history, something entirely different. Nam Nguyen: Go and get fucked. sci.logic 24/10/2015
Back to sci.logic | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
puzzle: Cross the desert rdelaney2001@gmail.com - 2016-02-10 11:00 -0800
Re: puzzle: Cross the desert Jim Burns <james.g.burns@att.net> - 2016-02-10 21:45 -0500
Re: puzzle: Cross the desert Jim Burns <james.g.burns@att.net> - 2016-02-11 11:13 -0500
Re: puzzle: Cross the desert Justin Thyme <JustinThyme@nowhere.com> - 2016-02-11 16:44 +0000
Re: puzzle: Cross the desert Justin Thyme <JustinThyme@nowhere.com> - 2016-02-11 16:59 +0000
Re: puzzle: Cross the desert Justin Thyme <JustinThyme@nowhere.com> - 2016-02-11 17:02 +0000
csiph-web