Submission #698744

# Submission time Handle Problem Language Result Execution time Memory
698744 2023-02-14T09:13:41 Z Cyanmond Newspapers (CEOI21_newspapers) C++17
0 / 100
1 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;
    }
    std::cout << 0 << std::endl;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -