2016年7月20日
摘要: 最近太忙了时间不够, 4个1a 记录一下代码 剩4题有空补做吧 http://codeforces.com/contest/699 A 1 //#define txtout 2 //#define debug 3 #include<bits/stdc++.h> 4 #define mt(a,b) m 阅读全文
posted @ 2016-07-20 22:15 gaolzzxin 阅读(132) 评论(0) 推荐(0) 编辑
摘要: nim博弈 n堆火柴,每堆有若干个火柴,两人轮流拿,每次可以选择一堆至少拿一个,也可以整堆拿走,无法拿的人输。 每堆火柴的个数异或和==0,先手输,否则先手赢。 http://acm.hust.edu.cn/vjudge/problem/32746 UVA11859 题意:给2维矩阵,每次可以选择矩 阅读全文
posted @ 2016-07-20 16:42 gaolzzxin 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 官方题解:http://bestcoder.hdu.edu.cn/blog/2016-multi-university-training-contest-1-solutions-by-hit/ 题目链接: A http://acm.hdu.edu.cn/showproblem.php?pid=572 阅读全文
posted @ 2016-07-20 13:32 gaolzzxin 阅读(381) 评论(0) 推荐(0) 编辑