摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4880模拟题吧~~一开始把题意理解错了,以为不知道都是0,然后就看不懂第一组样例,后来才明白那些是未知的,多少都可以。英文啊~~~伤~~~当n为0,1,2,3的时候一定可以达到最大;当n等于4的时候单独考虑;当n等于5的时候也单独考虑;代码写的很不文艺,,,View Code 1 #include <iostream> 2 #include <algorithm> 3 #include <math.h> 4 #include <cst 阅读全文
posted @ 2012-10-20 15:13 _sunshine 阅读(359) 评论(0) 推荐(0) 编辑