
数学 博弈论
文章平均质量分 77
Albert__s
一直奔跑总会有出头之日。
展开
-
2016 ICPC 大连 C Game of Taking Stones 【威佐夫博弈+大数+高精度】
Problem DescriptionTwo people face two piles of stones and make a game. They take turns to take stones. As game rules, there are two different methods of taking stones: One scheme is that you can ta原创 2017-05-01 20:22:41 · 1551 阅读 · 0 评论 -
【知识点】 --- 博弈知识汇总
博弈知识汇总有一种很有意思的游戏,就是有物体若干堆,可以是火柴棍或是围棋子等等均可。两个人轮流从堆中取物体若干,规定最后取光物体者取胜。这是我国民间很古老的一个游戏,别看这游戏极其简单,却蕴含着深刻的数学原理。下面我们来分析一下要如何才能够取胜。(一)巴什博奕(Bash Game):只有一堆n个物品,两个人轮流从这堆物品中取物,规定每次至少取一个,最多取m个。最后取光者得胜转载 2017-07-23 22:22:12 · 488 阅读 · 0 评论 -
SDNU 51nod 几道简单的博弈题目
1.51nod 1066 Bash游戏最基本的巴什博奕,告诉你n和k,当n%(k+1) == 0时后手必胜,否则先手必胜。 Mycode:#include <bits/stdc++.h>using namespace std;const int MAX = 1005;int main(){ int T; int n, k; cin >> T; while(T-原创 2017-07-23 23:51:52 · 427 阅读 · 0 评论 -
2017 省赛 山东 A Return of the Nim 【博弈】【Nim+Wythoff】
Return of the NimTime Limit: 1000MS Memory Limit: 65536KBSubmit Statistic DiscussProblem DescriptionSherlock and Watson are playing the following modified version of Nim game:There are n原创 2017-07-23 23:23:41 · 749 阅读 · 0 评论