Submission #1097483

# Submission time Handle Problem Language Result Execution time Memory
1097483 2024-10-07T13:02:08 Z alexander707070 Newspapers (CEOI21_newspapers) C++14
0 / 100
0 ms 348 KB
#include<bits/stdc++.h>
#define MAXN 200007
using namespace std;
 
int n,m,a,b;

int main(){

    cin>>n>>m;
    for(int i=1;i<=m;i++){
        cin>>a>>b;
    }

    if(m>n-1){
        cout<<"NO\n";
    }else{
        cout<<"YES\n";
        cout<<0<<"\n";
    }
 
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 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 0 ms 348 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 0 ms 344 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -