poj 2425 A Chess Game (DAG上博弈)
摘要:
http://poj.org/problem?id=2425(记录模板) 思路:dfs找对应起始位置的sg函数,看异或和是不是0。(具体看代码) 代码: #include<iostream> #include<algorithm> #include<cstring> #include<cstdio> 阅读全文
posted @ 2020-08-13 21:32 Aminers 阅读(132) 评论(0) 推荐(0) 编辑