2013年9月7日

POJ 2311 博弈

摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int sg[205][205]; 7 8 int solve(int w,int h){ 9 if(sg[w][h]!=-1){10 return ... 阅读全文

posted @ 2013-09-07 20:02 Stomach_ache 阅读(130) 评论(0) 推荐(0) 编辑

各大ACM OJ网址

摘要: 做快乐的程序员以你的条件,你不必追求优秀,但你可以做到良好。各大OJ网址ACM OJ Collection(排名不分先后): 中国:(China) 华东地区: 浙江: 杭州电子科技大学(HDU):http://acm.hdu.edu.cn/浙江大学(ZJU):http://acm.zju.edu.c... 阅读全文

posted @ 2013-09-07 18:59 Stomach_ache 阅读(368) 评论(0) 推荐(0) 编辑

HDU 1536 求解SG函数

摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int K=101; 8 const int H=10001; 9 int s[K],sg[H];10 int k,m,h,n;11 bool... 阅读全文

posted @ 2013-09-07 18:54 Stomach_ache 阅读(97) 评论(0) 推荐(0) 编辑

导航