会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
kewowlo
博客园
首页
新随笔
联系
管理
订阅
2014年7月19日
HDU 2818&&POJ 1988 并查集简单应用
摘要: 因为并查集是递归找根节点是自下向上的 ,可以通过找根节点的过程中更新low值所以以箱子的底部为根节点#include #include #include #include #include #include #include using namespace std;#define N 500000+...
阅读全文
posted @ 2014-07-19 16:32 kewowlo
阅读(107)
评论(0)
推荐(0)
编辑
公告