摘要: 题目:https://www.luogu.org/problemnew/show/P2148 先打表找个规律: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int sg[25][25]; voi 阅读全文
posted @ 2018-05-24 22:50 Zinn 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 题目:https://www.luogu.org/problemnew/show/P2575 第一次用SG函数解决问题,有许多不熟练的地方; 试图按自己的理解写一个dfs,结果错了(连题都没读对,以为是像跳棋一样跳),这样的话用dfs从左往右推就不行了呢; 附上自己的错误尝试: #include<i 阅读全文
posted @ 2018-05-24 00:22 Zinn 阅读(209) 评论(0) 推荐(0) 编辑