Submission #832214

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