摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5360题意:告诉你n个区间[ l[i],r[i] ],然后让你排序,必须左区间不大于它前边的总区间个数,右区间不小于前边的总区间个数,求该序列的最大长度以及序列;PS:场上做的时候,三个人三个思路,不知道... 阅读全文
posted @ 2015-08-06 23:34 一麻袋码的玛侬 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4576坑大发了,居然加 % 也会超时; 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include... 阅读全文
posted @ 2015-08-06 11:53 一麻袋码的玛侬 阅读(203) 评论(0) 推荐(0) 编辑