阅读背景:

Lineofwines

来源:互联网 

There are N wines in a row. Each year you sell either the leftmost or the rightmost wine. The i-th wine has initial price p[i] and price k * p[i] in the k-th year. What is the maximum possible total profit?There are N wines in a row. Each year you sell eit




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

分享到: