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 Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

is it possible to create a physical file without dds?

1359


which indicator is used for read?

711


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

1085


what is the use of jdftval in join logical file?

1259


Difference Between Interactive & Batch Job?

912






how can I predict the performance of my cgis?

729


How do I remove a flag or check no. or name when a user opens too many sessions?

1867


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

2549


what is sflrolval?

746


can you have multiple key lists for a single file ?

1160


different type of cursor?

720


What is the as400 called now?

648


What is the use of jdftval in as400?

1034


what is cab?

751


how does union file maintains record formats?

722