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.



4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge whic..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

0 Answers  


Explain The Keywords Edtcde & Edtwrd?

0 Answers   IBM,


how do you use exceptional write in c specs?

1 Answers   IBM,


what is the maximum number of record formats in dspf?

1 Answers   IBM,


What is access path in as400?

0 Answers  






why do we use readc? What is sflnxtchg?

0 Answers   IBM,


What is the difference between access path and Dynamic select?

1 Answers  


What is the use of E specification in RPG?

1 Answers  


What is the difference between Interactive & Batch Job?

1 Answers  


what is the use of UNIQUEUE KEY WORD? what is the difference between PFILE AND REF?

2 Answers  


how do you turn off indicators 50 through 59 in only one operation

1 Answers  


What is class of service ?

1 Answers  


Categories