![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博弈
文章平均质量分 58
Candycake
小白一枚
展开
-
文章标题
Being a Good Boy in Spring Festival-题目:http://acm.hdu.edu.cn/showproblem.php?pid=1850题意:给定多堆的纸牌,每堆的纸牌数目也给定,游戏者可以从某一堆中取出任意多个数目的纸牌,请问先手如果能赢,他第一步取纸牌的可行的方案数?类型:博弈,nim博弈思路:运用尼姆博弈的方法求出所有堆纸牌数的异或之后的值t,然后判断是否为0原创 2015-09-01 22:10:22 · 456 阅读 · 0 评论 -
kiki’s game
C - kiki’s game题目Recently kiki has nothing to do. While she is bored, an idea appears in his mind, she just playes the checkerboard game.The size of the chesserboard is n*m.First of all, a coin is plac原创 2015-08-26 20:04:53 · 747 阅读 · 0 评论