摘要: #include #include #define maxn 10050int n,m;int p[maxn],x[maxn*10],y[maxn*10];int find(int x){ if(p[x]==x) return x; else return p[x]=find(p[x]);}int ... 阅读全文
posted @ 2013-12-10 23:25 贝尔摩德 阅读(91) 评论(0) 推荐(0) 编辑