Submission #698741

# Submission time Handle Problem Language Result Execution time Memory
698741 2023-02-14T09:13:09 Z Cyanmond Newspapers (CEOI21_newspapers) C++17
0 / 100
0 ms 212 KB
#include <bits/stdc++.h>

int main() {
    int N, M;
    std::cin >> N >> M;
    std::vector<int> A(M), B(M);
    for (int i = 0; i < M; ++i) {
        std::cin >> A[i] >> B[i];
        --A[i], --B[i];
    }
    if (M == N - 1) {
        std::cout << "YES" << std::endl;
    } else {
        std::cout << "No" << std::endl;
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -