摘要: #include<iostream> #include<cstdio> #include<cstring> #include<vector> using namespace std; int main(){ int n;//max int a[102],x[102],vis[102],sg[102] 阅读全文
posted @ 2018-11-23 21:18 莫莫君不恋爱 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Tom和Jerry正在玩一种Northcott游戏,可是Tom老是输,因此他怀疑这个游戏是不是有某种必胜策略,郁闷的Tom现在向你求救了,你能帮帮他么? 游戏规则是这样的: 如图所示,游戏在一个n行m列(1 ≤ n ≤ 1000且2 ≤ m ≤ 100)的棋盘上进行,每行有一个黑子(黑方)和一个白子 阅读全文
posted @ 2018-11-23 20:39 莫莫君不恋爱 阅读(154) 评论(0) 推荐(0) 编辑
摘要: D - Pagodas Visible Lattice Point POJ 3696 The Luckiest number POJ 3696 The Luckiest number POJ 3696 The Luckiest number POJ 3696 The Luckiest number 阅读全文
posted @ 2018-11-23 19:55 莫莫君不恋爱 阅读(98) 评论(0) 推荐(0) 编辑