摘要: 原题链接:http://www.lydsy.com/JudgeOnline/problem.php?id=1012线段树,单点更新。。 1 #include 2 #include 3 #include 4 #include 5 #define lc root r || pos = r) {20 ... 阅读全文
posted @ 2015-05-24 21:53 GadyPu 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=5233简单题,stl水之。。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using std::multiset; 7 struct... 阅读全文
posted @ 2015-05-24 13:53 GadyPu 阅读(118) 评论(0) 推荐(0) 编辑