摘要: @ "TOC" 拓扑序 有向无环图 DAG,对每一个顶点给一个编号,第i号顶点叫做v~i~,那么存在顶点v~i~到顶点v~j~的边时,就有 i include using namespace std; struct Edge { int to, next; }; const int maxn = 1 阅读全文
posted @ 2019-03-31 16:46 woria 阅读(1236) 评论(0) 推荐(0) 编辑