제출 #1097484

#제출 시각아이디문제언어결과실행 시간메모리
1097484alexander707070Newspapers (CEOI21_newspapers)C++14
4 / 100
1 ms600 KiB
#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<<1<<"\n"; cout<<1<<"\n"; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...