Submission #897409

#TimeUsernameProblemLanguageResultExecution timeMemory
897409NeroZeinNewspapers (CEOI21_newspapers)C++17
4 / 100
1 ms452 KiB
#include "bits/stdc++.h" using namespace std; #ifdef Nero #include "Deb.h" #else #define deb(...) #endif int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n, m; cin >> n >> m; for(int i = 0; i < m; ++i) { int x, y; cin >> x >> y; } cout << "YES" << '\n'; cout << n << ' '; for (int i = 1; i <= n; ++i) { cout << i << ' '; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...