摘要: 因为并查集是递归找根节点是自下向上的 ,可以通过找根节点的过程中更新low值所以以箱子的底部为根节点#include #include #include #include #include #include #include using namespace std;#define N 500000+... 阅读全文
posted @ 2014-07-19 16:32 kewowlo 阅读(107) 评论(0) 推荐(0) 编辑