摘要:
博弈知识汇总:http://www.cnblogs.com/crazyac/articles/1954607.html1.hdoj 1907 JohnNim博弈Nim博弈,如果出现不是1的情况,则所有情况做异或操作。如果所有的数量都是1则看n的奇偶性。#include <iostream>#include <cstdio>using namespace std;int main() {// freopen("c:/aaa.txt", "r", stdin); int T, a, res, n, i; bool flag; scan
阅读全文