阅读背景:

【HDU】4597 Play Game(DP+记忆化搜索)

来源:互联网 

Play Game

Problem Description
Alice and Bob are playing a game. There are two piles of cards. There are N cards in each pile, and each card has a score. They take turns to pick up the top or bottom card from either pile, and the score of the card will be added to his total score. Alice and Bob are both clever enough, and will pick up cards to get as many scores as possible. Do you know how many scores can Alice get if he picks up first?Alice



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

分享到: