
博弈
KLFTESPACE
这个作者很懒,什么都没留下…
展开
-
历届试题 约数倍数选卡片
对于必胜状态,必有一个后继状态是必败的,对于必败状态所有后继状态都是必胜的。假设当前选择是必胜态,那么后手的所有选择都必须是P态才行。 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N = 100; vector<int> a[N], b; int cn...原创 2019-04-07 21:59:47 · 240 阅读 · 0 评论 -
历届试题 高僧斗法
//神奇的nim游戏.... #include<iostream> #include<cstdio> #include<string> using namespace std; int a[110]; int ge[110], ne[110];//ge为0-1,2-3 ne为1-2,3-4..... int main() { in...原创 2019-04-07 16:23:05 · 165 阅读 · 0 评论