crossing the bridge

Algebra Level 3

Four people need to cross a rickety bridge at night. Unfortunately, they have only one torch and the bridge is too dangerous to cross without one. The bridge is only strong enough to support two people at a time. Not all people take the same time to cross the bridge. Times for each person: 1 min, 2 mins, 7 mins and 10 mins. What is the shortest time needed for all four of them to cross the bridge?


The answer is 17.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Uday Iyer
May 6, 2014

First 1 & 2 crosses the bridge here 2 mins lapsed then one comes back so one min lapsed......now a total of 3 mins lapsed......now 10 & 7 crosses the bridge here 10 mins lapsed then 2 on the other side will come to this side so 2 mins lapsed......now a total of 3+10+2 =15 mins lapsed........now 1 & 2 will again cross the bridge so 2 mins will be lapsed.......so a total of 15+2 = 17 mins will be lapsed for all to cross the bridge.

If the 3rd & 4th person crosses the Bridge at the time then after 7th minute 3rd will reach there while 3 minutes remaining. At this time the 2nd person with 2 minute speed will cross(the fourth man is still in his 9th minute)....Remaining 1 minute the 1st man will cross.Thus I think the least time is 10 minutes....

Archiet Dev - 6 years, 10 months ago

Log in to reply

They must use the torch to see. Without having the torch, they cannot cross. Hence, you must move back and forth, unless you wish for the 3rd, 2nd and 1st to commit suicide

Adrian Ma - 2 years, 3 months ago

Log in to reply

not commit suicide but take risk ;)

Archiet Dev - 2 years, 2 months ago
Saya Suka
Apr 27, 2021

Answer
= ceiling[1,2] + 1 + ceiling[10,7] + 2 + ceiling[1,2]
= 2 + 1 + 10 + 2 + 2
= 17 minutes


0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...