Submission #620904

#TimeUsernameProblemLanguageResultExecution timeMemory
620904berrNewspapers (CEOI21_newspapers)C++17
0 / 100
1 ms212 KiB
#include <bits/stdc++.h> using namespace std; #define int long long int32_t main() { ios_base::sync_with_stdio(false); cin.tie(0); int n, m; cin>>n>>m; for(int i=0; i<m; i++) { int x, y; cin>>x>>y; } cout<<"YES\n"<<n*2-2<<" \n"; for(int i=1; i<n; i++) { cout<<i<<" "<<i<<" "; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...