제출 #912091

#제출 시각아이디문제언어결과실행 시간메모리
912091juliany2Newspapers (CEOI21_newspapers)C++17
4 / 100
1 ms604 KiB
#include<bits/stdc++.h> using namespace std; using ll = long long; #define all(x) (x).begin(), (x).end() int main() { cin.tie(0)->sync_with_stdio(false); int n, m; cin >> n >> m; if (m == n - 1) cout << "YES" << '\n' << 1 << ' ' << 1 << '\n'; else { assert(false); cout << "NO" << '\n'; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...