阅读背景:

poj1700真正感受到贪心的力量

来源:互联网 
        A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement must be arranged in order to row the boat back and forth so that all people may cross. Each person has a different rowing speed; the speed of a couple is determined by the speed of the slower one. Your job is to determine a strategy that minimizes the time for these people to get across.        A group of N people wishes to go across a


你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: