Submission #832216

# Submission time Handle Problem Language Result Execution time Memory
832216 2023-08-21T06:54:07 Z QwertyPi Newspapers (CEOI21_newspapers) C++14
0 / 100
0 ms 212 KB
#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 time Memory Grader output
1 Incorrect 0 ms 212 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Integer parameter [name=k] equals to 0, violates the range [1, 5]
2 Halted 0 ms 0 KB -