제출 #832216

#제출 시각아이디문제언어결과실행 시간메모리
832216QwertyPiNewspapers (CEOI21_newspapers)C++14
0 / 100
0 ms212 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 << ' ' << i << ' '; } cout << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...