Submission #857947

# Submission time Handle Problem Language Result Execution time Memory
857947 2023-10-07T07:44:43 Z danikoynov Newspapers (CEOI21_newspapers) C++14
0 / 100
0 ms 348 KB
#include<bits/stdc++.h>
#define endl '\n'

using namespace std;
typedef long long ll;

void speed()
{
    ios_base::sync_with_stdio(NULL);
    cin.tie(NULL);
    cout.tie(NULL);
}

int n, m;
void solve()
{
    cin >> n >> m;
    cout << "YES" << endl;
    cout << n << endl;
    for (int i = 1; i <= n; i ++)
        if (i % 2 == 1)
        cout << i << " ";
    for (int i = 1; i <= n; i ++)
        if (i % 2 == 1)
        cout << i << " ";
    cout << endl;
}
int main()
{
    solve();
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Extra information in the output file
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Extra information in the output file
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Extra information in the output file
2 Halted 0 ms 0 KB -