摘要:
11859 Division Game Division game is a 2-player game.In this game, there is a matrix of positive integers with N rows and M columns.Players make their 阅读全文
posted @ 2016-08-27 18:01
Yan_Bin
阅读(142)
评论(0)
推荐(0)
摘要:
考虑一个简单的游戏: 有两个盒子,其中一个装有m颗糖、另一个装有n颗糖,将这样的状态记为(m,n)。每次的移动是将其中一个盒子清空,把另一个盒子的一些糖拿到被清空的盒子里使得两个盒子至少各有一颗糖。两个操作者轮流进行操作,不能操作者败。需要判断一个状态是否先手必败。 按照k=m+n从小到大的顺序进行 阅读全文
posted @ 2016-08-27 12:17
Yan_Bin
阅读(361)
评论(0)
推荐(0)