会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
井_中窥月
万物美好,我在中央
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
数据结构模块
并查集 POJ 1988
摘要:#include #define N 30010int pa[N]; //parentint siz_tree[N]; //size of treeint d[N]; //dist between node and rootint Find(int x){ if(pa[x] == x) ret...
阅读全文
posted @
2015-04-05 23:51
井_中窥月
阅读(136)
评论(0)
推荐(0)