![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博弈
文章平均质量分 80
yiluuuuu
这个作者很懒,什么都没留下…
展开
-
【博弈+找规律】HDU_4642_Fliping game
Fliping game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2029 Accepted Submission(s): 1363 Problem Description Alice and Bob原创 2017-08-05 23:07:05 · 214 阅读 · 0 评论 -
【博弈+找规律】HDU_5963_朋友
加——阿里云“智慧航空AI大赛”(报名中...) 朋友 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 488 Accepted Submission(s): 293 Problem原创 2017-08-05 23:17:29 · 208 阅读 · 0 评论 -
【博弈】取石子游戏
两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时取走相同数量的石子。最后把石子全部取完者为胜者。现在给出初始的两堆石子的数目,如果轮到你先取,假设双方都采取最好的策略,问最后你是胜者还是败者。 Input输入包含若干行,表示若干种石子的初始情况,其中每一行包含两个非负整数a和b,表示两堆石子原创 2017-08-05 23:22:52 · 222 阅读 · 0 评论 -
【博弈+SG函数+打表找规律】HDU_5795_A Simple Nim
Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn they can pick any number of candies which come from the same heap(picking no candy原创 2017-08-05 23:26:51 · 246 阅读 · 0 评论