// NOTE: it is recommended to use this even if you don't understand the following code. #include #include #include #include using namespace std; int main() { // uncomment the two following lines if you want to read/write from files // ifstream cin("input.txt"); // ofstream cout("output.txt"); int N, M, K; cin >> N >> M >> K; vector A(M); vector T1(M); vector B(M); vector T2(M); for (int i = 0; i < M; ++i) cin >> A[i] >> T1[i] >> B[i] >> T2[i]; int L; cin >> L; vector U(L), V(L); for (int i = 0; i < L; ++i) cin >> U[i] >> V[i]; string ans = ""; vector leaves(M); // INSERT YOUR CODE HERE cout << ans << endl; // only if answer is YES for (int i = 0; i < M; ++i) cout << leaves[i] << " "; cout << endl; return 0; }