题目链接:集合-Nim游戏 #include <iostream>
#include <cstring>
#include <algorithm>
#include <unordered_set>using namespace std;const int N 110, M 10010;int n, m;
int s[N], f[M];int sg(int x)
{if(f[x] ! -1) return f[x];//…
个人学习记录,代码难免不尽人意。 呃,今天做了做19年的复试上机题,死在hash表上了,后面详细解释。心态要好,心态要好
7-1 Conway’s Conjecture John Horton Conway, a British mathematician active in recreational…