摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1513 1 #include <iostream> 2 #include <stdio.h> 3 #include <string.h> 4 #include <algorithm> 5 using namespa 阅读全文
posted @ 2016-05-30 21:02 Wally的博客 阅读(98) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1789 我的思路:先在输入过程中求出总被减分数sum,再对deadline由小到大进行排序,然后找出deadline的最大值--day,从day到1依次找出deadline大于等于当前day的最大被减分数--red 阅读全文
posted @ 2016-05-30 17:27 Wally的博客 阅读(143) 评论(0) 推荐(0) 编辑