摘要: 1 void toposort(int map[MAX][MAX],int indegree[MAX],int n) 2 { 3 int i,j,k; 4 for(i=0;i<n;i++) //遍历n次 5 { 6 for(j=0;j<n;j++) //找出入度为0的节点 7 { 8 if(indeg... 阅读全文
posted @ 2016-05-25 16:01 Hutonm 阅读(132) 评论(0) 推荐(0) 编辑