摘要: 上海邀请赛的一道题目,看比赛时很多队伍水过去了,当时还想了好久却没有发现这题有什么水题的性质,原来是道成题。 最近学习了下线段树扫描线才发现确实是挺水的一道题。hdu5091#include #include #include #include #include #include #include ... 阅读全文
posted @ 2014-11-04 20:05 chenhuan001 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 又知道了线段树的一种用法,除了单点更新,区间更新,还有这种在一段线段上标号但不往下推。 真是神奇hdu1828#include #include #include #include #include #include #include #include #include using namespac... 阅读全文
posted @ 2014-11-04 17:26 chenhuan001 阅读(391) 评论(0) 推荐(0) 编辑