摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=2845 题意:吃豆子游戏 , 当你吃了一个格子的豆子 , 该格子左右两个和上下两行就不能吃了 , 输入每个格子的豆子数 , 求你最多能吃多少颗豆子? 在最大连续数列的基础上,改变了,求最大不连续和? 我们可以 阅读全文
posted @ 2018-08-10 14:17 CheeseIce 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=2007 注意审题就好,x可以>y; 阅读全文
posted @ 2018-08-10 11:20 CheeseIce 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=2005 注意:闰年 查表法 阅读全文
posted @ 2018-08-10 10:52 CheeseIce 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=2006 注意 sum=1,写在while 不然每次结果会累积 阅读全文
posted @ 2018-08-10 10:39 CheeseIce 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=2004 中文题目,简单题。 题意:将分数转换成ABC制查表法#include int main(){ int score; char convert[] = "EE... 阅读全文
posted @ 2018-08-10 10:19 CheeseIce 阅读(435) 评论(0) 推荐(0) 编辑