Submission #912052

#TimeUsernameProblemLanguageResultExecution timeMemory
912052juliany2Newspapers (CEOI21_newspapers)C++17
4 / 100
1 ms348 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;

    cout << (m == n - 1 ? "YES" : "NO") << '\n' << 1 << ' ' << 1 << '\n';

    return 0;
}

#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...