Submission #534937

# Submission time Handle Problem Language Result Execution time Memory
534937 2022-03-09T07:37:44 Z Karuk Newspapers (CEOI21_newspapers) C++14
0 / 100
1 ms 296 KB
#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,m;
    cin>>n>>m;
    for(int i=0;i<m;i++)
    {
        int x,y;
        cin>>x>>y;
    }
    if(m==n-1)cout<<"YES \n 0";
    else cout<<"NO";
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 296 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 288 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 296 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -