随笔分类 -  图论_拓扑排序

摘要:拓扑排序 定义:拓扑排序是指在 有向无环图 中,将所有的结点进行排序,最终得出的序列称为拓扑序。 先来看一个模板代码: c++ include include include include using namespace std; const int maxn=210; int od[maxn], 阅读全文
posted @ 2020-02-02 14:57 StungYep 阅读(126) 评论(0) 推荐(0)