4 persons a, b , c , d have to go to concert which will held
in 17 minutes. there is a bridge which only 2 persons at a
time can cross. its night and they have only one flashlight
with them. Flashlight cannot be thrown. one person should
return with the flashlight
all 4 person have different speed.
a = crosses bridge in 1 min.
b = crosses bridge in 2 min.
c = crosses bridge in 5 min.
d = crosses bridge in 10 min
how can they all reach in time.??
Ex- suppose a and d crosses bridge which will take 10 mins
and then d returns back with a flashlight which will make 20
mins and mission is failed.
Answer / ajit kumar jha
A and B will cross the bridge. --> 2 mins
A will come back with the flashlight. --> 1 min
C and D will cross the bridge --> 10 mins
B will come back with the flashlight. --> 2 mins
A and B will cross the bridge. --> 2 mins
Total is 17 mins.
| Is This Answer Correct ? | 26 Yes | 3 No |
How many Printer Files can Declare in a CL Program?
List and explain the different type of data structures?
How to reverse a string using RPG?
in conjunction with which statements can orxx and andxx conditions be used ?
what is the difference between normal upddta to pf and updating using dfu program?
which are the query selection criteria, which can be given in a query?
How to trap errors in CL?
What is the type, length of a LDA?
how can a cgi check whether an ifs object is available?
how many printer files maximum can be used in single rpg program?
How to read 2 positions at a time in a data area? I have created a data area of length and i have to read the values of the data area like 91-92,93-94 at a time up till 100
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?