摘要: 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3867题意:跟炉石游戏里的规则也差不多。给你两个小兵 有生命和攻击,问你第一个去攻击第二个的结果。 1 #include 2 #include 3 #includ... 阅读全文
posted @ 2015-04-13 19:10 下周LGD该赢了吧 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3860水题,问给出的数组中唯一不一样的那个是多少。 1 #include 2 #include 3 #include 4 #include 5 #includ... 阅读全文
posted @ 2015-04-13 19:06 下周LGD该赢了吧 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3861题意:给出一组数,要求这组数在解锁的界面可能的滑动序列。思路:按照是否能够直接到达建图,如1可以直接到2,但是1不能直接到3,因为中间必须经过一个2。要注意的假... 阅读全文
posted @ 2015-04-13 19:02 下周LGD该赢了吧 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Cylinder CandyTime Limit:2 Seconds Memory Limit:65536 KB Special JudgeEdward the confectioner is making a new batch of chocolate covered candy. Each c... 阅读全文
posted @ 2015-04-13 16:13 下周LGD该赢了吧 阅读(412) 评论(0) 推荐(0) 编辑