![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博弈
GoForer
这个作者很懒,什么都没留下…
展开
-
博弈论(巴什博奕,威佐夫博弈,尼姆博弈,斐波那契博弈)
转载自:https://blog.csdn.net/ac_gibson/article/details/41624623 一. 巴什博奕(Bash Game): A和B一块报数,每人每次报最少1个,最多报4个,看谁先报到30。这应该是最古老的关于巴什博奕的游戏了吧。 其实如果知道原理,这游戏一点运气成分...转载 2018-04-02 15:07:29 · 99 阅读 · 0 评论 -
博弈 SG
转自:https://blog.csdn.net/tomorrowtodie/article/details/52145645 一、心得体会 1.ACM博弈题,不会的时候觉得难于上青天,会的时候觉得没有比博弈更水的题了; 博弈题看到的第一眼觉得是难题,代码敲完顿觉水题。你可能花半个小时去找规律,然后仅花2分钟敲代码。 2.博弈是单人游...转载 2018-04-09 19:10:28 · 644 阅读 · 0 评论 -
HDU 1907 尼姆博弈
John Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 5571 Accepted Submission(s): 3224 Problem Description Little John is playing very f...原创 2018-04-10 19:15:22 · 114 阅读 · 0 评论 -
HDU 博弈
1517 A Multiplication Game Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6673 Accepted Submission(s): 3792 Problem Description S...原创 2018-04-10 20:06:43 · 330 阅读 · 0 评论 -
博弈知识
转自:http://www.cnblogs.com/kuangbin/archive/2011/08/28/2156426.html 【转】ACM博弈知识汇总 博弈知识汇总 有一种很有意思的游戏,就是有物体若干堆,可以是火柴棍或是围棋子等等均可。两个人轮流从堆中取物体若干,规定最后取光物体者取...转载 2018-04-10 20:52:38 · 142 阅读 · 0 评论 -
HDU1850尼姆博弈
#include<iostream> #include<stdio.h> using namespace std; int a[101]; int main() { int n; while(scanf("%d",&n)!=EOF&&n){ int ans=0; for(int i=0;i<...原创 2018-04-11 17:14:14 · 132 阅读 · 0 评论 -
return the NIM
Return of the Nim Time Limit: 1000MS Memory Limit: 65536KB Submit Statistic Problem Description Sherlock and Watson are playing the following m...转载 2018-04-11 20:10:09 · 114 阅读 · 0 评论 -
3566 Triple Nim
Triple Nim Time Limit: 2000 ms Memory Limit: 65536 KiB Submit Statistic Discuss Problem Description Alice and Bob are always playing all kinds of Nim games and Alice always goes first. Here is t...原创 2018-05-02 19:10:00 · 174 阅读 · 0 评论