제출 #1214438

#제출 시각아이디문제언어결과실행 시간메모리
1214438aykhnNewspapers (CEOI21_newspapers)C++20
4 / 100
0 ms328 KiB
#include <bits/stdc++.h>

using namespace std;

#define int long long

const int MXN = 1e6 + 5;
const int LOG = 20;

signed main()
{
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, m;
  cin >> n >> m;
  if (m > n - 1)
  {
    cout << "NO\n";
    return 0;
  }
  cout << "YES\n1\n1\n";
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...