FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Solve this





akshar
Well guys there is just a little question from u guys...Actually there are two of them first i will ask the easier one then afterwards the difficult one...This one is pretty easy

There are total 4 people n every one have different speed n they have to cross a bridge at night in minimum 17 mins time n they have only one torch...at once only two people can cross da bridge ...They all cross the bridge in 1 min, 2 min, 5 min n 10 mins time respetively....n the time will counted of the person who is slower For example if two people who cross bridge in 1min n 2 mins then the time counted will be 2 mins...

You have to decide the sequence of the people to make them cross da bridge in 17 mins...
Liu
1 min guy and 2 min guy cross. Total: 2 min
2 min guy returns with torch. Total now: 4 min
5 min and 10 min guy cross. Total now: 14 min
1 min guy guy returns with torch. Total now: 15 min
1 min guy and 2 min guy go across together. Total: 17 min

edit:

this works too:

1 min guy and 2 min guy cross. Total: 2 min
1 min guy returns with torch. Total now: 3 min
5 min and 10 min guy cross. Total now: 13 min
2 min guy guy returns with torch. Total now: 15 min
1 min guy and 2 min guy go across together. Total: 17 min
akshar
frihosters got brains Idea
falconfx
@akshar

What a nice "question"!
Can you post another one, this time a bit more difficult?
Related topics
Can I create a brand new account in my account?
war never solves anything.. except
A math problem only the smart can solve
can anybody help to solve my printer problem??
Solve this puzzle, get some FRIH$
Solve The Riddles!!
Solve this problem - 15frih$
phpBB problems. Please help me solve the problem
Solve this mystery
An algorithm to solve sudoku
How to solve the world from Economic Depression
url problem...solve it
50+50 Frih$ . AHCI driver problem. Solve and get 100 Frih$.
search, a bit contextual in php
how to solve that error .. mysql_num_rows() ....
Reply to topic    Frihost Forum Index -> General -> General Chat

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.