Codeforces 1159E 拓扑排序
题意及思路:https://www.cnblogs.com/dd-bond/p/10859864.html代码:#include <bits/stdc++.h>#define LL long long#define db doubleusing namespace std;const int maxn = 500010;stack<pair<...