
ACM__博弈
文章平均质量分 91
HQD因为有趣所以做题
这个作者很懒,什么都没留下…
展开
-
1067 取石子游戏
<br /><br />取石子游戏Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 19212 Accepted: 5792<br />Description有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时取走相同数量的石子。最后把石子全部取完者为胜者。现在给出初始的两堆石子的数目,如果轮到你先取,假设双方都采取最好的策略,问最后你是胜者还原创 2010-07-15 14:29:00 · 763 阅读 · 0 评论 -
POJ 1704 Georgia and Bob
<br /><br />Georgia and BobTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3274 Accepted: 743<br />DescriptionGeorgia and Bob decide to play a self-invented game. They draw a row of grids on paper, number the grids from left to right by 1, 2, 3,原创 2010-07-15 11:24:00 · 793 阅读 · 0 评论 -
POJ 1740 A New Stone Game
A New Stone GameTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 2835 Accepted: 1434<br />DescriptionAlice and Bob decide to play a new stone game.At the beginning of the game they pick n(1<=n<=10) piles of stones in a line. Alice and Bob move the原创 2010-07-15 10:13:00 · 1315 阅读 · 0 评论