Submission #602794

#TimeUsernameProblemLanguageResultExecution timeMemory
602794cadmiumskyNewspapers (CEOI21_newspapers)C++14
4 / 100
1 ms212 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; if(m == n - 1) { cout << "YES\n2\n1 1\n"; } else cout << "YES\n1\n1\n"; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...