今天我想跟大家分享一條思考題,,,如下:
中文﹕某晚上有四個傷兵需要橫過一條破橋以逃離敵方炮火,該破橋每次最多只能承托兩個士兵,當兩個士兵一起過橋時,他們必須以較慢的士兵的速度行走;該四個士兵只有一個照明燈﹕他們每次都必須攜帶照明燈以安全的速度過橋;如果該四個士兵各需1、2、4,及6分鐘時間過橋,求他們全部安全過橋的最短時間。
英文﹕Four wounded soldiers have to cross a damaged bridge at night to escape from enemy fire. The bridge can only take two soldiers at a time;when two soldiers cross together, they have to travel at the speed of the slower member. The fuor soldiers have only one torch between them:to cross safely thw torch has to go across each time. If the four soldiers individually take 1, 2, 4and 6 minutes to cross the bridge, find the minimum time needed for all four to cross sarely.
全部自己打架 |