摘要: 拓扑排序 #include "bits/stdc++.h" using namespace std; // 用来存某个点的入度数量 int num[505]; // 用来存某个节点的出度 set<int> outde[505]; int ans[505]; priority_queue<int, v 阅读全文
posted @ 2019-01-12 16:17 Jathon-cnblogs 阅读(162) 评论(0) 推荐(0) 编辑