摘要: 强连通分量计数#include<stdlib.h>#include<string.h>#include<stdio.h>int root[1010];int n,m;int findroot(int index){ if(root[index] == -1) return index; else return findroot(root[index]);}int main(){ int i; int j; int bufx,bufy; freopen("in_kruskal.txt","r",stdin); freop 阅读全文
posted @ 2013-04-26 19:44 kahreman 阅读(333) 评论(0) 推荐(0) 编辑