![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博弈论
文章平均质量分 83
xushenbao_123
一个技能树点歪的ACMER
展开
-
HDU 1079
Calendar GameTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4503 Accepted Submission(s): 2735Problem Description Adam and Eve enter this y原创 2017-07-16 17:09:57 · 295 阅读 · 0 评论 -
HDU - 2177 威佐夫博弈
取(2堆)石子游戏Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2684 Accepted Submission(s): 1639Problem Description 有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子原创 2017-07-23 21:19:49 · 261 阅读 · 0 评论 -
HDU 1527 威佐夫博弈
取石子游戏Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7339 Accepted Submission(s): 4054Problem Description 有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规原创 2017-07-23 19:14:48 · 188 阅读 · 0 评论 -
HDU 2176
取(m堆)石子游戏Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3356 Accepted Submission(s): 2029Problem Description m堆石子,两人轮流取.只能在1堆中取.取完者胜.先取者负输原创 2017-07-23 19:01:58 · 196 阅读 · 0 评论 -
HDU - 3389
http://acm.hdu.edu.cn/showproblem.php?pid=3389阶梯博弈: http://blog.csdn.net/gatevin/article/details/45457997如果当前编号模6等于3,1,4,那么一定是向比自己小的模6下编号为0,2,5的盒子里移动卡片,而如果此时的先手发现局面不利,只需要相应地把卡片,向自己前面的模6下编号为3,1,4的盒子里移动原创 2017-07-17 14:03:21 · 232 阅读 · 0 评论 -
HDU - 3032 Nim or not Nim?
Nim or not Nim?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2238 Accepted Submission(s): 1158Problem Description Nim is a two-player mat原创 2017-07-17 11:39:03 · 189 阅读 · 0 评论 -
HDU - 2897
http://acm.hdu.edu.cn/showproblem.php?pid=2897随便推一下胜负状态,规律太明显了。#include<bits/stdc++.h>using namespace std;int main(){ int n,p,q; while(cin>>n>>p>>q) { n=(n-1)%(q+p); if(n原创 2017-07-17 09:23:44 · 229 阅读 · 0 评论 -
HDU - 2516
取石子游戏Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5361 Accepted Submission(s): 3247Problem Description 1堆石子有n个,两人轮流取.先取者第1次可以取任意多个,但不能全部原创 2017-07-17 09:05:43 · 315 阅读 · 0 评论 -
HDU - 1846
Brave GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 12019 Accepted Submission(s): 8123Problem Description 十年前读大学的时候,中国每年都要从国外引进一些电影大片原创 2017-07-16 20:03:08 · 285 阅读 · 0 评论 -
HDU - 1525 博弈
Euclid’s GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3584 Accepted Submission(s): 1686Problem Description Two players, Stan and Oll原创 2017-07-16 18:34:43 · 191 阅读 · 0 评论 -
HDU - 1517 简单博弈
A Multiplication GameTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5975 Accepted Submission(s): 3391Problem Description Stan and Ollie pl原创 2017-07-24 10:04:09 · 270 阅读 · 0 评论