
博弈
文章平均质量分 54
Rechard_chen
不积跬步无以至千里。
展开
-
POJ-3537-Crosses and Crosses
点击打开题目链接 # include # include # include # include using namespace std;int sg[2100];inline int dfs(int x){ if(x < 0) return 0; if(sg[x] >= 0) return sg[x]; int mex[2100]原创 2015-08-11 08:59:30 · 724 阅读 · 0 评论 -
山东省赛-博弈-Game
点击打开题目链接 很明显的一道博弈题目,但是在求SG的时候,子状态写错了,一直都没有AC。最后还是水过去的额;比赛后还是自己写了一遍;# include # include # include using namespace std;int sg[1200];int get(int x){ if(x < 0) return 0; if(s原创 2015-08-13 09:48:51 · 679 阅读 · 0 评论