摘要: 链接:http://www.lydsy.com/JudgeOnline/problem.php?id=1798唔这是好久好久以前写不出的题了QAQ,就是一个线段树水题qvq 1 #include 2 #include 3 #include 4 #include 5 #include 6 #... 阅读全文
posted @ 2016-01-22 20:35 Lukaluka 阅读(406) 评论(1) 推荐(1) 编辑
摘要: 链接:http://www.lydsy.com/JudgeOnline/problem.php?id=2054水题QAQ, 并查集就可以了。 1 #include 2 #include 3 #include 4 #define LL long long 5 #define MaxN 10000... 阅读全文
posted @ 2016-01-22 20:29 Lukaluka 阅读(241) 评论(0) 推荐(0) 编辑