摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1558先判断线段相交,然后用并查集合并。 1 #include 2 #include 3 #include 4 #define maxn 20000 5 using namespace std; 6 7 i... 阅读全文
posted @ 2014-05-13 20:47 null1019 阅读(136) 评论(0) 推荐(0) 编辑