제출 #832214

#제출 시각아이디문제언어결과실행 시간메모리
832214QwertyPiNewspapers (CEOI21_newspapers)C++14
0 / 100
1 ms300 KiB
#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define int long long
using namespace std;

const int MAXN = 1e3 + 11;
int32_t main(){
    int n, m; cin >> n >> m;
    cout << "YES" << endl;
    cout << (n - 1) * 2 << endl;
    for(int i = 1; i <= n - 1; i++){
        cout << i << endl;
        cout << i << endl;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...