Submission #19558262


Source Code Expand

Copy
#include <algorithm>
#include <array>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>

using namespace std;
#define int long long
int K, X;
signed main()
{
    cin >> K >> X;
    for (int i = X - K + 1; i < X + K; i++) {
        cout << i;
        if (i != X + K - 1) {
            cout << " ";
        }
    }
    cout << endl;
    return 0;
}

Submission Info

Submission Time
Task B - One Clue
User yossi_2000
Language C++ (GCC 9.2.1)
Score 200
Code Size 393 Byte
Status AC
Exec Time 8 ms
Memory 3596 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 13
Set Name Test Cases
Sample a01, a02, a03
All a01, a02, a03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13
Case Name Status Exec Time Memory
a01 AC 8 ms 3520 KB
a02 AC 2 ms 3540 KB
a03 AC 3 ms 3596 KB
b04 AC 3 ms 3344 KB
b05 AC 5 ms 3468 KB
b06 AC 2 ms 3532 KB
b07 AC 2 ms 3532 KB
b08 AC 3 ms 3540 KB
b09 AC 1 ms 3412 KB
b10 AC 2 ms 3524 KB
b11 AC 2 ms 3524 KB
b12 AC 2 ms 3344 KB
b13 AC 2 ms 3468 KB