摘要: 这里要补充一些知识点,并查集三操作1.找到父节点递归写法int Findf(int x){ if(father[x]!=x) father[x]=Findf(father[x]); return father[x];}另一种写法int Findf(int x){ in... 阅读全文
posted @ 2015-07-22 15:16 花开须臾 阅读(152) 评论(0) 推荐(0) 编辑