摘要: #include #include #include #include #define maxn 1000000 using namespace std; int n,m; struct Edge{//存边 int next; int to; int dis; }edge[maxn]; queue q;//拓扑排序要用队列 int head[maxn]; in... 阅读全文
posted @ 2018-10-24 13:28 summerwonder 阅读(373) 评论(0) 推荐(0) 编辑