uva 10305

原题 php 经典的拓扑排序, ios 每次找入度为0的点, 输出, 而且把与这个点相连的点的入度-1数组 依次循环就好了spa 由于我这里是每输出完一次就对原数组排序, code 因此注意要把输出完毕的点入度设为一个较高的值排序 #include <iostream> #include <cstdio> #include <cstdlib> #include <cstring> #include
相关文章
相关标签/搜索