线段树
文章平均质量分 88
hahaAll
这个作者很懒,什么都没留下…
展开
-
hdu3397Sequence operation--线段树
hdu3397Sequence operation:http://acm.hdu.edu.cn/showproblem.php?pid=3397 Sequence operation Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Desc原创 2016-08-17 20:02:21 · 438 阅读 · 0 评论 -
hdu3308LCIS
http://acm.hdu.edu.cn/showproblem.php?pid=3308 LCIS Time Limit: 6000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6448 Accepted Submission(s): 2799原创 2016-08-08 16:24:44 · 313 阅读 · 0 评论 -
UESTC360Another LCIS
UESTC360 Another LCIS:http://acm.uestc.edu.cn/#/problem/show/360 Another LCIS Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) Submit Status原创 2016-08-10 18:16:40 · 582 阅读 · 0 评论 -
线段树扫描线——HDU1542&&POJ1151-Atlantis
Atlantis Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11407 Accepted Submission(s): 4841 Problem Description There are several an转载 2016-09-29 10:59:54 · 364 阅读 · 0 评论 -
线段树扫描线hdu1828Picture
线段树扫描线hdu1828Picture :http://acm.hdu.edu.cn/showproblem.php?pid=1828 思路:求矩形周长并……可以把矩形分成横线和竖线两部分,并将两条横线和两条竖线都分别标记为-1、1。然后建两遍数,将结果相加就可以了(也有其他建一遍树的做法)……但这个题值得说的就是用这种做法有一个坑……将矩形的横线和竖线的坐标按照从小到大(从大到小)的顺序排序原创 2016-10-02 15:37:39 · 395 阅读 · 0 评论