会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CF上蓝!!!
博客园
首页
新随笔
联系
管理
2020年9月17日
并查集回顾
摘要: acwing836—合并集合 #include<iostream> #include<cstdio> using namespace std; const int N=1e5+10; int n,m; int p[N]; int find(int x)//返回x的祖宗节点 { if(x!=p[x])
阅读全文
posted @ 2020-09-17 15:01 30天CF上蓝!!!
阅读(131)
评论(0)
推荐(0)
公告