문제 링크 : boj.kr/1432난이도 : P4태그 : 위상 정렬, 우선순위 큐코드#include #define all(x) (x).begin(), (x).end()#define INF 0x7FFFFFFFusing namespace std;using ll = long long;using ld = long double;using pii = pair;using pll = pair;int main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n; cin >> n; vector> adj(n+1); vector cnt(n+1, 0); for(int i = 1; i > s; for(int j = 0; j ..