Submission #19562462


Source Code Expand

Copy
K, X = list(map(int, input().split()))

st = X - (K - 1)
en = X + (K - 1)

if st < -1000000 :
  st = -1000000
if en > 1000000 :
  en = 1000000

print(' '.join(list(map(str, range(st, en + 1)))))

Submission Info

Submission Time
Task B - One Clue
User kyoso
Language Python (3.8.2)
Score 200
Code Size 204 Byte
Status AC
Exec Time 27 ms
Memory 9116 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 21 ms 8888 KB
a02 AC 20 ms 9044 KB
a03 AC 18 ms 9052 KB
b04 AC 27 ms 9032 KB
b05 AC 18 ms 9116 KB
b06 AC 19 ms 9108 KB
b07 AC 25 ms 8892 KB
b08 AC 25 ms 9052 KB
b09 AC 25 ms 8892 KB
b10 AC 20 ms 9048 KB
b11 AC 21 ms 9040 KB
b12 AC 24 ms 9052 KB
b13 AC 24 ms 8984 KB