摘要: 题目链接:https://code.google.com/codejam/contest/3324486/dashboard#s=p2 题目: 思路: 代码实现如下: 阅读全文
posted @ 2018-11-18 18:53 Dillonh 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/gym/101981 A题: 思路: 通过枚举n<=5的情况可以发现,只有当k==1且n为偶数时或者n==0时后手胜,其他的都是先手胜。 代码实现如下: 1 #include <set> 2 #include <map> 3 #include < 阅读全文
posted @ 2018-11-18 15:46 Dillonh 阅读(212) 评论(0) 推荐(0) 编辑