摘要: #include<stdio.h>int fa[10000];int getfather(int x){ if(x==fa[x]) return x; else return fa[x]=getfather(fa[x]);}int main(){ int n,m; scanf("%d%d",&n,& 阅读全文
posted @ 2017-11-09 10:24 lmjer 阅读(122) 评论(0) 推荐(0) 编辑