Crossing the bridge

hiker95

Well-known Member
Joined
Apr 8, 2009
Messages
17,648
Crossing the bridge

4 people are crossing a bridge at night, and they have 1 lantern between them.

They reach a very, very, deep gorge, spanned by a log bridge.

As with all such puzzles, there are various artificial constraints:
1. They must cross the gorge, on the bridge, in less than 18 minutes.
2. Only two people can be on the bridge at the same time or it will not hold them.
3. They need the lantern to cross; they can't cross in the dark.
4. It's a long bridge and an old-fashioned lantern. You can barely see your feet; you can't see very far ahead or behind on the bridge.
5. It's OK to be left alone in the dark on one side or the other.

It gets more complicated (of course):
1. Person A takes 1 minute to cross
2. Person B takes 2 minutes to cross
3. Person C takes 5 minutes to cross
4. Person D takes 10 minutes to cross

Your job, if you accept the challenge, is to get everyone across the bridge, never more than two on the bridge at a time, one person always carrying the lantern on the bridge, in under 18 minutes.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
One way could be

A and B cross
A returns
C and D cross
B returns
A and B cross
 
A and D cross.
A returns with lantern = 11 minutes so far.
B and C cross = 16 minutes and they all have crossed the bridge.

Since you did not require they all had to end up on the other side. They have all crossed the bridge at least once, including A who is back on the original side though (in the dark perhaps saying "toss me the lantern..."). Only 16 minutes were needed.
 
davesweep,

Nicely done.

It took 17 total minutes to get everyone onto the other side of the very, very, deep gorge.
 
Nice work again by Dave, getting everyone to the other side. Without anyone having to toss anyone the lantern.;)
 

Forum statistics

Threads
1,223,743
Messages
6,174,244
Members
452,553
Latest member
red83

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top