problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p02946
u333404917
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = map(int, input().split())\nl = [x-n for n in range(1,k)] + [x+n for n in range(k)]\nl = [x for x in l if x <= 1000000]\nl = [x for x in l if x >= 1000000 * -1]\nl = sorted(l)\nprint(" ".join(map(str, s_l)))', 'k, x = map(int, input().split())\nl = [x-n for n in range(1,k)] + [x+n for n in range(k)]\nl = [x f...
['Runtime Error', 'Accepted']
['s999855443', 's611707885']
[3060.0, 3060.0]
[20.0, 18.0]
[209, 207]
p02946
u339093699
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\nl = (K-1)*2 + 1\nstart = X - (K-1)\noutlist = range(start,start+l)\nprint(list(outlist))', 'K, X = map(int, input().split())\nl = (K-1)*2 + 1\nstart = X - (K-1)\noutlist = list(range(start,start+l))\nprint(" ".join(map(str,outlist)))']
['Wrong Answer', 'Accepted']
['s492396298', 's127521533']
[3064.0, 2940.0]
[20.0, 17.0]
[118, 137]
p02946
u341543478
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = list(map(int, input().split()))\nprint([int(x) for x in range(x - k + 1, x + k)])\n', "k, x = list(map(int, input().split()))\nprint(' '.join([str(x) for x in range(x - k + 1, x + k)]))"]
['Wrong Answer', 'Accepted']
['s971230260', 's716107156']
[2940.0, 2940.0]
[17.0, 17.0]
[88, 97]
p02946
u343977188
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\n\nif x-k+1<=-1000000:\n a=-1000000\nelse: a=x-k+1\nif x+k-1>=1000000:\n b=1000000\nelse:b=x+k-1\n\nprint([i for i in range(a,b+1)])', 'k,x=map(int,input().split())\n\nif x-k+1<=-1000000:\n a=-1000000\nelse: a=x-k+1\nif x+k-1>=1000000:\n b=1000000\nelse:b=x+k-1\n\nprint(*range(a,b+1))...
['Wrong Answer', 'Accepted']
['s940933076', 's052827014']
[2940.0, 3060.0]
[17.0, 18.0]
[154, 142]
p02946
u349515860
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\nprint(list(range(X-K+1, X+K)))', 'K, X = map(int, input().split())\nlist=range(X-K+1,X+K)\nprint(" ".join([str(n) for n in list]))']
['Wrong Answer', 'Accepted']
['s125818072', 's980816105']
[2940.0, 2940.0]
[17.0, 17.0]
[63, 94]
p02946
u350093546
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["a,b=map(int,input().split())\nx=[]\nfor i in range(b-a+1,b+a):\n x.append(i)\nprint(''.join(x),sep=' ')", "k,x=map(int,input().split())\nsum=''\nfor i in range(x-k+1,k+x):\n sum+=i\nprint(sum)", "k,x=map(int,input().split())\nsum=''\nfor i in range(x-k+1,k+x):\n sum+=str(i)\nprint(sum)\n", "a,b=map(int,input().spl...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s518523138', 's664361861', 's869098509', 's186831324']
[9040.0, 2940.0, 2940.0, 9100.0]
[26.0, 18.0, 19.0, 27.0]
[100, 82, 88, 98]
p02946
u350997995
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = map(int,input().split())\nA = []\nMAX = 1000000\nMIN = -MAX\nif K==1:\n print(X)\n exit()\nif X-K<MIN:\n for k in range(MIN,X+K):\n A.append(k)\nelif X+K>MAX:\n for k in range(X-K+1,MAX+1):\n A.append(k)\nelse:\n for k in range(X-K,X+K):\n A.append(k)\nprint(*A)', 'K,X = map(...
['Wrong Answer', 'Accepted']
['s266286378', 's613444976']
[3064.0, 3060.0]
[17.0, 17.0]
[288, 137]
p02946
u357751375
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["k,x = map(int,input().split())\na = x-k+1\nb = x+k\nc = list(range(a,b))\nstr(c)\nprint(' '.join(c))", "k,x = map(int,input().split())\na = x - k + 1\nb = x + k\nc = list(range(a,b))\nprint(''.join(str(c)))", "k,x = map(int,input().split())\nt = []\nfor i in range(x-k+1,x+k):\n t.append(str(i))\nprint(' '.join(t))...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s588679479', 's860877645', 's096954889']
[2940.0, 3060.0, 9104.0]
[18.0, 17.0, 29.0]
[95, 98, 104]
p02946
u364642100
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["k, x = map(int, input().split())\nprint(''.join, map(str, range(x- k + 1, x + k )))", "k, x = map(int, input().split())\nprint(''.join(map(str, range(x- k + 1, x + k ))))", "k, x = map(int, input().split())\nprint(' '.join(map(str, range(x- k + 1, x + k ))))\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s134321103', 's551985171', 's016510822']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[82, 82, 84]
p02946
u371409687
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\nans=[]\nfor i in range(2*k-1):\n ans.append(x-k+1+i)\nprint(ans)', "k,x=map(int,input().split())\nans=[]\nfor i in range(2*k-1):\n ans.append(x-k+1+i)\nprint(' '.join(map(str, ans)))"]
['Wrong Answer', 'Accepted']
['s142193723', 's112256139']
[2940.0, 2940.0]
[17.0, 17.0]
[93, 113]
p02946
u372486989
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int, input().split())\na = list()\n \nb = x+k-1\nc = x-k+1\n \nfor i in range(c,b+1):\n if -1000000 <= i and i <= 1000000:\n a.append(i)\n \nprint(a,sep=" ")', 'k,x=map(int, input().split())\na = list()\n\nb = x+k-1\nc = x-k+1\n\nfor i in range(c,b+1):\n if -1000000 < i and i < 1000000:\n a.append(...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s110085653', 's368197235', 's837120075', 's463837973']
[2940.0, 2940.0, 2940.0, 3060.0]
[18.0, 18.0, 18.0, 17.0]
[161, 149, 153, 154]
p02946
u373047809
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['a, b = map(int, input().split())\nprint(max(a * b, a - b, a + b))', 'k, x = map(int, input().split())\nprint(*range(x - k + 1, x + k))']
['Wrong Answer', 'Accepted']
['s350614533', 's592873793']
[9084.0, 8916.0]
[31.0, 25.0]
[64, 64]
p02946
u374146618
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = [int(x) for x in input().split()]\nblack = list(range(x-k+1, x+k))\nprint(black)', 'k, x = [int(x) for x in input().split()]\nblack = list(range(x-k+1, x+k))\nprint(" ".join(map(str, black)))']
['Wrong Answer', 'Accepted']
['s635593120', 's340579483']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 105]
p02946
u375282392
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int,input().split())\n\nprint(" ".join(list(range(x-k+1,x+k-1))))', 'a,b = map(int,input().split())\n\nprint(" ".join(list(map(str,range(b-a+1,b+a-1)))))', 'k,x = map(int,input().split())\n\nprint(list(range(x-k+1,x+k-1)))', 'a,b = map(int,input().split())\n\nprint(" ".join(list(map(str,range(b-a+1,b+a)))))...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s265647149', 's531345605', 's549063569', 's200026275']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[73, 82, 63, 80]
p02946
u382907940
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['kx = [int(i) for i in input().split()]\nk,x = kx[0],kx[1]\nc = k*2 - 1\ng = [j + x - k + 1for j in range(c)]\nprint(g)', 'kx = [int(i) for i in input().split()]\nk,x = kx[0],kx[1]\nc = k*2-1\nprint(j + x - k for j in range(c))\n', "k,x = map(int,input().split())\nl = x - k + 1\nr = x + k\nif l < -100000:\n r -= l + ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s101452697', 's372752589', 's277950418']
[2940.0, 2940.0, 3060.0]
[20.0, 17.0, 18.0]
[114, 102, 193]
p02946
u390762426
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\nprint([num in range(x-k+1,x)])', 'k,x=map(int,input().split())\nprint([num for num in range(x-k+1,x+k)])', 'k,x=map(int,input().split())\nprint([num for num in range(x-k+1,x)])', 'k,x=map(int,input().split())\nprint(*[num for num in range(x-k+1,x+k)])']
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s561488495', 's607903646', 's660235371', 's209081741']
[2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[59, 69, 67, 70]
p02946
u391066416
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['import numpy as np\n\nK, X = map(int, input().split())\nAns = np.arange(X-K+1, X+K)\nprint(Ans)', 'import numpy as np\n\nK, X = map(int, input().split())\nAns = np.arange(X-K+1, X+K)\nprint(*Ans)']
['Wrong Answer', 'Accepted']
['s412066819', 's137420256']
[12392.0, 12420.0]
[150.0, 151.0]
[91, 92]
p02946
u391328897
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = map(int, input().split())\nans = list(range(x - k + 1, x + k))\nprint(ans)\n', "k, x = map(int, input().split())\nans = list(map(str, range(x - k + 1, x + k)))\nprint(' '.join(ans))\n"]
['Wrong Answer', 'Accepted']
['s544138831', 's915762563']
[3064.0, 2940.0]
[18.0, 17.0]
[80, 100]
p02946
u391675400
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int,input().split()) \n\nresult = []\nfor i in range(k):\n result.append(x+i)\n result.append(x-i)\n\nresult = list(set(result))\nresult.sort()\nprint(result)', 'k,x = map(int,input().split()) \n\nresult = []\nfor i in range(k):\n result.append(x+i)\n result.append(x-i)\n\nresult = list(set(resu...
['Wrong Answer', 'Accepted']
['s903222793', 's912725646']
[3060.0, 3060.0]
[18.0, 17.0]
[180, 181]
p02946
u391731808
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = map(int,input().split())\nprint(list(range(X-K+1,X+K)))', 'K,X = map(int,input().split())\nprint(list(range(X-K+1,X+K-1)))', 'K,X = map(int,input().split())\nprint(*list(range(X-K+1,X+K)))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s124500393', 's450782395', 's177864504']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[60, 62, 61]
p02946
u396553339
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["x, k = map(int, input().split())\n\nans = []\n\nfor i in range(x-k+1, x+k):\n ans.append(i)\n\nans = [str(ai) for ai in ans]\nprint(' '.join(ans))", "k, x = map(int, input().split())\n\nans = []\n\nfor i in range(x-k+1, x+k):\n ans.append(i)\n\nans = [str(ai) for ai in ans]\nprint(' '.join(ans))"]
['Wrong Answer', 'Accepted']
['s054103098', 's406085411']
[3060.0, 2940.0]
[17.0, 17.0]
[141, 141]
p02946
u396961814
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = [int(x) for x in input().split()]\nans=[]\nfor i in range(X-K+1,X+K):\n ans+= [i]\n\nprint(ans)', 'K,X = [int(x) for x in input().split()]\nans=[]\nfor i in range(X-K+1,X+K):\n ans+= [i]\n\nprint(*ans)']
['Wrong Answer', 'Accepted']
['s470379658', 's530030869']
[2940.0, 3060.0]
[18.0, 20.0]
[99, 100]
p02946
u402644375
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, n = (int(x) for x in input().split())\n\nresult = []\ndif = n - k - 1\nr = (2 * k) + 1\nfor i in range(r):\n result.append(str(dif + i))\n \nprint(" ".join(result))', 'k, n = (int(x) for x in input().split())\n\nresult = []\ndif = n - k + 1\nr = (2 * (k - 1)) + 1\nfor i in range(r):\n result.append(str(dif + ...
['Wrong Answer', 'Accepted']
['s555009049', 's168743705']
[2940.0, 2940.0]
[17.0, 17.0]
[161, 167]
p02946
u403331159
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\na=[]\nfor i in range(k):\n if i==0:\n a.append(x)\n continue\n a.append(x+i)\n a.append(x-i)\nb=sorted(a)\nprint(b)\n', 'k,x=map(int,input().split())\na=list()\nfor i in range(k):\n if i==0:\n a.append(x)\n continue\n a.append(x+i)\n a.append...
['Wrong Answer', 'Accepted']
['s843752780', 's810138083']
[2940.0, 3060.0]
[17.0, 17.0]
[160, 165]
p02946
u403832169
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\na=[]\nfor i in range(k-1):\n a.append(x-i-1)\nfor i in range(k):\n a.append(i+x)\n\nprint(*a,sep=" ")', 'k,x=map(int,input().split())\na=[]\nfor i in range(k-1):\n a.append(x-i-1)\nfor i in range(k):\n a.append(i+x)\nass=sorted(a)\nprint(*ass,sep=" ")']
['Wrong Answer', 'Accepted']
['s967532367', 's664037177']
[3060.0, 3060.0]
[17.0, 19.0]
[130, 145]
p02946
u412255932
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["K, X = input().split()\nK, X = int(K), int(X)\nprint(' '.join([i for i in range(X-K+1, X+K)]))", "K, X = map(int, input().split())\nprint(' '.join([i for i in range(X-K+1, X+K)]))", "K, X = map(int, input().strip().split())\nprint(' '.join([str(i) for i in range(X-K+1, X+K)]))"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s053072058', 's971997381', 's831806893']
[2940.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[92, 80, 93]
p02946
u418253957
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = int(input().split())\n\nprint(i for i in range(x+1-k,x+k))', 'k,x = map(int,input().split())\n\nprint(" ".join(map(str,range(x-k+1,x+k))))']
['Runtime Error', 'Accepted']
['s619763031', 's540851434']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 74]
p02946
u418527037
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['\nusing namespace std;\n\n#define rep(i,n) REP(i,0,n)\nint main(){\n int K, X;\n cin >> K >> X;\n X -= K - 1;\n rep(i,2*K-1) cout<<X+i<<" ";\n cout<<endl;\n\n return 0;\n\n}', "K, X = list(map(int, input().split()))\n\nT = X - K + 1\n\nans = []\n\nfor i in range(K*2 - 1):\n ans.append(T)\n T +...
['Runtime Error', 'Accepted']
['s674622078', 's852668416']
[2940.0, 2940.0]
[17.0, 18.0]
[256, 150]
p02946
u419877586
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int, input().split())\nprint(" ".join([x-k+1+i for i in range(2k+1)]))', 'k,x=map(int, input().split())\nprint(" ".join([x-k+i for i in range(1, 2k)]))', 'a,b=map(int, input().split())\nprint(" ".join([x-i for i in range(-k, k)]))', 'k, x=map(int, input().split())\nprint(" ".join([x-i for i in range(-k, k+1)]...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s057861974', 's674996436', 's766406879', 's839551541', 's497869185']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 18.0]
[77, 76, 74, 77, 91]
p02946
u420399048
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['def fa(K,X):\n L=[X]\n for i in range(0,K-1):\n L.append(X-i+2)\n L.append(X+i-2)\n return set(L)\nK,X=map(int,input().split())\nprint(fa(K,X))', 'def fa(K,X):\n ch=""\n L=[X]\n for i in range(1,K):\n L.append(X-i)\n L.append(X+i)\n L.sort()\n C=str(L)\n ch=C[1:l...
['Wrong Answer', 'Accepted']
['s061206341', 's362426880']
[3060.0, 3060.0]
[17.0, 17.0]
[159, 223]
p02946
u433184056
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = map(int, input().split())\n\nstart = x - k + 1\nlast = x + k - 1\n\nresult = []\nresult.append(start)\n\nfor i in range(1, last - start + 1):\n result.append(start + i)\nfor i in result:\n if i == start:\n\toutput = str(i)\n else:\n output = output + " " + str(i)\nprint(output)', 'k, x = map(in...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s053806952', 's073315519', 's750622272', 's970445368']
[2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 18.0, 17.0]
[285, 293, 298, 290]
p02946
u437215432
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['# ABC137B\n\nk, x = map(int, input().split())\nprint([i for i in range(x - k + 1, x + k)])\n', '# ABC137B\n\nk, x = map(int, input().split())\nprint(*[i for i in range(x - k + 1, x + k)])\n']
['Wrong Answer', 'Accepted']
['s346573294', 's431373946']
[2940.0, 3060.0]
[18.0, 17.0]
[88, 89]
p02946
u439312138
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = map(int,input().split())\n \nans = ""\n \nfor i in range(K-(X-1),K+(X+1)):\n\tans += "i"\n \nprint(ans)', 'K,X = map(int,input().split())\n \nans = ""\n \nfor i in range(X-(K-1),X+(K+1)-1):\n\tans = ans + " " + str(i)\n \nprint(ans.lstrip())']
['Wrong Answer', 'Accepted']
['s595007885', 's653923351']
[2940.0, 2940.0]
[17.0, 17.0]
[106, 131]
p02946
u440478998
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int, input().split())\nprob = [i for i in range(x-k+1,x+k)]\nprint(prob)', 'k,x = map(int, input().split())\nprob = [str(i) for i in range(x-k+1,x+k)]\nprint(" ".join(prob))']
['Wrong Answer', 'Accepted']
['s145246068', 's279916151']
[9016.0, 9072.0]
[25.0, 27.0]
[80, 95]
p02946
u441099853
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = (int(i) for i in input().split())\n\narr = []\n\nfor i in range(-k + 1, 0):\n for j in range(0, k + 1):\n arr.append(i + j + x) \n\nresult = sorted(list(set(arr)))\n\nif (k == 1):\n result = x\n\nprint(result)\n\n ', 'k, x = (int(i) for i in input().split())\narr = []\n\nfor i in range(-k + 1, 0):\n for...
['Wrong Answer', 'Accepted']
['s019476452', 's722332903']
[3188.0, 3188.0]
[19.0, 19.0]
[212, 255]
p02946
u448720391
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int,input().split())\nprint([x-k+1+i for i in range(2*k-1)])', 'k,x = map(int,input().split())\np = [x-k+1+i for i in range(2*k-1)]\nprint(q)', 'k,x = map(int,input().split())\np = [x-k+1+i for i in range(2*k-1)]\n\nq = [j for j in p if j > -100000 and j < 1000000]\n\nprint(q)', 'k,x = map(int,input().split...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s610873859', 's902152932', 's991629435', 's667527785']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[69, 75, 127, 115]
p02946
u451324929
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['a, b = (int(i) for i in input().split())\nc = []\nd=2*a-1\nfor i in range(d):\n c.append(b-a+1+i)\nprint(c)', 'a, b = (int(i) for i in input().split())\nc = []\nd=2*a-1\nfor i in range(d):\n c.append(b-a+1+i)\n \nprint(*c)']
['Wrong Answer', 'Accepted']
['s474498321', 's475481620']
[2940.0, 3060.0]
[17.0, 18.0]
[103, 107]
p02946
u453500284
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["k, x = map(int,input().split())\nprint(''.join(map(str, range(x-k+1, x+k))))\n", "k, x = map(int,input().split())\nprint(' '.join(map(str, range(x-k+1, x+k))))\n"]
['Wrong Answer', 'Accepted']
['s477128969', 's338022589']
[2940.0, 2940.0]
[18.0, 17.0]
[76, 77]
p02946
u456896733
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['import sys\nimport re\nINPUT = sys.stdin.readline\n\ndef SORO_INT(): return int(INPUT())\ndef MULT_INT_LIST(): return list(map(int, INPUT().split()))\ndef MULT_INT_MAP(): return map(int, INPUT().split())\ndef SORO_STRING(): return INPUT()\ndef MULT_STRING(): return INPUT().split()\n\nK,X = MULT_INT_LIST()\nans = []\n...
['Wrong Answer', 'Accepted']
['s146953265', 's206393076']
[3188.0, 3188.0]
[19.0, 19.0]
[481, 483]
p02946
u459752408
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X=map(int,input().split())\nans = []\nfor i in range(-100,101):\n if X-K<i<X+K:\n ans.append(i)\nprint(ans)\n', 'K,X=map(int,input().split())\nans = []\nfor i in range(-100,101):\n if X-K<i<X+K:\n ans.append(str(i))\nprint(ans)\n', 'K,X=map(int,input().split())\nans = []\nfor i in range(-101,200):\n if X-K...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s150621741', 's798438642', 's391059270']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[109, 114, 132]
p02946
u460878159
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X =[int(x) for x in input().split()]\ns = [i for i in range(X-K+1,X+K)]\nprint(s)', "K, X =[int(x) for x in input().split()]\ns = [str(i) for i in range(X-K+1,X+K)]\nh = ' '.join(s)\nprint(h)"]
['Wrong Answer', 'Accepted']
['s568271698', 's656793871']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 103]
p02946
u465652095
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int,input().split())\n\nLX = []\nfor i in range(X-K+1, X+K):\n LX.append(i)\n\nprint(LX)', 'K, X = map(int,input().split())\n\nLX = []\nfor i in range(X-K+1, X+K):\n LX.append(i)\n\nprint(" ".join(map(str, LX)))']
['Wrong Answer', 'Accepted']
['s778880954', 's642151201']
[2940.0, 2940.0]
[17.0, 17.0]
[96, 116]
p02946
u483896240
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['# -*- coding: utf-8 -*-\nimport numpy as np\n\nk, x = map(int, input().split())\n\nmi = x-k+1\nmi = max(-1000000, mi)\n\nma = x+k\nma = min(1000000, ma)\n\nlist_1 = list(range(mi, ma))\nprint(list_1)', '# -*- coding: utf-8 -*-\nimport numpy as np\n\nk, x = map(int, input().split())\n\nmi = x-k+1\nmi = max(-1000000, m...
['Wrong Answer', 'Accepted']
['s106761159', 's392995668']
[21244.0, 20740.0]
[328.0, 304.0]
[187, 206]
p02946
u489124637
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int,input().split())\n\nif -1000000 + K < X and X < 1000000 - K:\n print(list(range(X-K+1,K+X)))\nif X <= -1000000+K:\n print(list(range(-1000000,X+K)))\nif 1000000 - K <= X:\n print(list(range(X-K+1,1000001)))', 'K, X = map(int,input().split())\nans = map(str, list(range(X-K+1,K+X)))\noutput = " ...
['Wrong Answer', 'Accepted']
['s294743005', 's012749590']
[3060.0, 2940.0]
[17.0, 17.0]
[223, 107]
p02946
u489315616
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['\nb, c = map(int, input().split())\nl=b*2-1\nll=[]\nlx = c - b + 1\nfor a in range(l):\n ll.append(lx)\n lx=lx+1\nprint(ll)', "\nb, c = map(int, input().split())\nl=b*2-1\nlx = c - b + 1\ns=str(lx)\nfor a in range(l-1):\n lx=lx+1\n s += ' ' + str(lx)\n\nprint(s)"]
['Wrong Answer', 'Accepted']
['s687995668', 's947677726']
[2940.0, 2940.0]
[17.0, 17.0]
[162, 173]
p02946
u490642448
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k = 10\nx = 20\n\nhead = x-(k-1)\ntail = x+(k-1)\n\nans = str(head)\nfor i in range(head+1,tail):\n ans = ans + " " + str(i)\n\nprint(ans)', 'k, x = map(int, input().split())\n\n# x = 20\n\nhead = x-(k-1)\ntail = x+(k-1)\n\nans = str(head)\nfor i in range(head+1,tail+1):\n ans = ans + " " + str(i)\n\nprint(ans)...
['Wrong Answer', 'Accepted']
['s251978217', 's883913231']
[2940.0, 3060.0]
[17.0, 17.0]
[131, 169]
p02946
u492447501
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['S = list(map(int, input().split()))\n\nK = S[0]\nX = S[1]\n\n\nA = abs(X-K)+1\nB = X+K\n\nfor i in range(A, B, 1):\n print(i, end="")\n print(" ", end="")\n\n', 'S = list(map(int, input().split()))\n\nK = S[0]\nX = S[1]\n\n\nA = abs(X-K)+1\nB = X+K\n\nif i in range(A, B, 1):\n print(i, end="")\n', 'K,X = map(int, ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s338161514', 's535966945', 's373912244']
[3060.0, 2940.0, 3060.0]
[17.0, 18.0, 17.0]
[147, 124, 72]
p02946
u493491792
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\n\nprint(list(range(x-k+1, x+k)))', 'k,x=map(int,input().split())\n\nlista=list(range(x-k+1, x+k))\nprint(*lista)\n']
['Wrong Answer', 'Accepted']
['s115181809', 's414226913']
[2940.0, 3060.0]
[17.0, 21.0]
[60, 74]
p02946
u496942486
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['a ,b = map(int,input().split())\nc = []\n\nfor i in range(a):\n c.append(b-i)\n c.append(b+i)\n\nc = set(c)\nprint("test",sorted(c))\n', 'a ,b = map(int,input().split())\nc = []\n\nfor i in range(a):\n c.append(b-i)\n c.append(b+i)\n\nc = set(c)\n\nprint(*sorted(c))\n']
['Wrong Answer', 'Accepted']
['s523393690', 's811647482']
[2940.0, 3060.0]
[17.0, 18.0]
[131, 126]
p02946
u506858457
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['a,b=map(int, input().split())\n\nprint(str(list(range(b-a+1,b+a))))', "K,X=map(int,input().split())\nlist=[i for i in range(X-K+1,X+K)]\nstrs = [str(num) for num in list]\nprint('\u3000'.join(strs))", "K,X=map(int,input().split())\nlist=[i for i in range(X-K+1,X+K)]\nstrs = [str(num) for num in list]\nprint('\u3000'....
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s168440897', 's241532056', 's463489217', 's828802237', 's541510923']
[2940.0, 3060.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0]
[65, 121, 121, 92, 90]
p02946
u512293334
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\nmin_x = X - (K-1)\nmax_x = X + (K-1)\nprint(list(range(min_x, max_x+1)))', 'K, X = map(int, input().split())\nmin_x = X - (K-1)\nmax_x = X + (K-1)\nprint(" ".join(map(str, list(range(min_x, max_x+1)))))']
['Wrong Answer', 'Accepted']
['s278366572', 's129838809']
[3060.0, 2940.0]
[18.0, 17.0]
[103, 123]
p02946
u527616458
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['n,m = list(map(int, input().split()))\nif n==1:\n print(m)\nelse:\n ans = [m]\n for i in range(n-1):\n ans.append(m-(n-i)+1)\n ans.append(m+i+1)\n print(ans)\n', 'n,m = list(map(int, input().split()))\nif n==1:\n print(m)\nelse:\n ans = []\n for i in range(2*(n-1)):\n ans.append(m-(n-i)+1)\n print(an...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s582734011', 's989393164', 's645119158']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 18.0]
[160, 140, 192]
p02946
u529012223
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['import numpy as np\n\nK, X = map(int, input().split())\n\nans = np.zeros(2*K-1)\nfor k in range(2*K-1):\n ans[k] = X - (K - 1) + k\n\nnp.set_printoptions(threshold=np.inf)\nprint(ans)\n', "import numpy as np\n\nK, X = map(int, input().split())\n\nans = []\nfor k in range(2*K-1):\n ans.append(X - (K - 1) + k)\n\npri...
['Wrong Answer', 'Accepted']
['s486381374', 's630999901']
[20372.0, 12488.0]
[270.0, 150.0]
[176, 147]
p02946
u535258729
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X=map(int, input().split())\nans=[X]\nfor i in range(1, K+1):\n ans.append(X-i)\n ans.append(X+i)\np=sorted(ans)\nprint(p[1:-1])', 'K, X=map(int, input().split())\nS=X-K+1\nE=X+K\nans=[i for i in range(S, E)]\nprint(*ans)']
['Wrong Answer', 'Accepted']
['s251365491', 's402992737']
[2940.0, 3060.0]
[17.0, 17.0]
[127, 85]
p02946
u536377809
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X=[int(item) for item in input().split()]\nfirst=max(-1000000,X-K+1)\nlast=min(1000000,X+K-1)\nprint(last-first+1)', 'K,X=[int(item) for item in input().split()]\nfirst=max(-1000000,X-K+1)\nlast=min(1000000,X+K-1)\nprint(" ".join([str(item) for item in range(first,last+1)]))']
['Wrong Answer', 'Accepted']
['s814624568', 's629135120']
[2940.0, 2940.0]
[17.0, 18.0]
[113, 154]
p02946
u539362921
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['i = list(map(int,input().split()))\nK = i[0]\nX = i[1]\nprint(range(X-K+1,X+K))', 'i = list(map(int,input().split()))\nK = i[0]\nX = i[1]\nprint(range(X-K+1,X-K-1)', 'i = list(map(int,input().split()))\nK = i[0]\nX = i[1]\nprint(int(range(X-K+1,X+K)))', 'i = list(map(int,input().split()))\nK = i[0]\nX = i[1]\nprint(r...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s048742182', 's135351469', 's379256005', 's610032283', 's754960939', 's836793749']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[76, 77, 81, 78, 82, 108]
p02946
u543230018
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = map(int, input().split(" "))\nx_min = X-K+1\nx_max = X+k-1\nr = [i for i in range(x_min,x_max+1)]\nprint(" ".join(r))', 'K,X = map(int, input().split(" "))\nx_min = X-K+1\nx_max = X+K-1\nr = [i for i in range(x_min,x_max+1)]\nprint(" ".join(r))\n', 'K,X = map(int, input().split(" "))\nx_min = X-K+1\nx_max = X+K...
['Runtime Error', 'Runtime Error', 'Accepted']
['s207349985', 's413828327', 's791587380']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[119, 120, 125]
p02946
u569479281
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = map(int, input().split())\ns = list(range(x-k+1, x+k-1))\nprint(s)', 'k, x = map(int, input().split())\nans = []\nfor i in range(x-k+1, x+k):\n ans.append(i)\nprint(" ".join(map(str, ans)))']
['Wrong Answer', 'Accepted']
['s264124204', 's621923442']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 116]
p02946
u571608999
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['X, K = map(int, input().split())\nl = range((K-(X-1)),(K + (X)))\na = list(l)\nprint(a)', 'X, K = map(int, input().split())\nl = range((K-(X-1)),(K + (X)))\na = list(l)\nprint( " ".join( repr(e) for e in a ) )']
['Wrong Answer', 'Accepted']
['s089570516', 's207931429']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 115]
p02946
u573673983
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['point = [int(i) for i in input().split()] \npoint_list = []\nfor i in range(1,point[0]*2):\n print(i)\n tmp = point[1] - point[0] + i\n point_list.append(tmp)\nprint(*point_list)', 'point = [int(i) for i in input().split()] \npoint_list = []\nfor i in range(1,point[0]*2):\n tmp = point[1] - point[0] + i\n...
['Wrong Answer', 'Accepted']
['s968343789', 's271452204']
[3060.0, 3060.0]
[18.0, 18.0]
[181, 168]
p02946
u573754721
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["K,X = map(int, input().split())\n\nlis = [i for i in range(X-K+1,X+K)]\nprint(' '.join(map(str,r)))", 'k,x=map(int,input().split())\nprint(*[i for i in range(x-k+1,x+k)])']
['Runtime Error', 'Accepted']
['s332769939', 's219048263']
[2940.0, 3060.0]
[17.0, 17.0]
[96, 66]
p02946
u578378372
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\n\nlist_b = []\n\nfor i in range(2*k-1):\n list_b.append(x-k+i+1)\n\nprint(list_b)\n ', 'k,x=map(int,input().split())\n\nlist_b = []\n\nfor i in range(2*k-1):\n list_b.append(x-k+i+1)\n\nprint(" ".join(map(str,list_b)))']
['Wrong Answer', 'Accepted']
['s566981556', 's933287090']
[2940.0, 2940.0]
[17.0, 17.0]
[112, 126]
p02946
u580199868
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int,input().split())\n\na = k - 1\nb = a * 2\n\nif a == 0:\n\tprint(x)\nelse:\n for i in list(range(a,b)):\n print(i,end=" ")\n\n\t', 'k,x=map(int,input().split())\na = k - 1\nb = a * 2\n\n\nif a == 0:\n\tprint(x)\nelse:\n for i in list(range(a,b)):\n print(i)\n\n\t', '\nk, x = map(int...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s839392697', 's880927845', 's152373599']
[3060.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[139, 129, 91]
p02946
u584083761
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['n = list(map(int, input().split()))\nk = n[0]\nx = n[1]\ns1 = n[1] - n[0] - 1\ns2 = n[1] + n[0] - 1\nprint(list(range( (s1), (s2 + 1) )))', 'n = list(map(int, input().split()))\nk = n[0]\nx = n[1]\ns1 = x - k + 1\ns2 = x + k - 1\nprint(list(range( (s1), (s2 + 1) )))', 'n = list(map(int, input().split()))\nk = n[0]\...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s129427681', 's300633103', 's562997085', 's687545093', 's936584708', 's281602694']
[3060.0, 2940.0, 2940.0, 3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[133, 121, 121, 120, 121, 155]
p02946
u586662847
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = map(int, input().split())\n\n\ndef solve():\n _min = -1000000\n _max = 1000000\n\n if (x - k + 1) > _min:\n _min = x - k + 1\n if (x + k - 1) < _max:\n _max = x + k - 1\n\n return list(range(_min, _max + 1))\n\n\nprint(solve())\n', "k, x = map(int, input().split())\n\n\ndef solve()...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s397140829', 's847308450', 's337691691']
[2940.0, 3060.0, 3060.0]
[17.0, 18.0, 18.0]
[249, 283, 263]
p02946
u593019570
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int, input().split())\nprint(*range(x-k+1, k+x-1))\n', 'k,x = map(int, input().split())\nprint(*range(x-k+1, x+k-1))\n', 'k,x = map(int, input().split())\nprint(*range(k-x+1, k+x))', 'k,x = map(int, input().split())\nprint(*range(k-x+1, k+x-1))\n', 'k,x = map(int, input().split())\nprint(*range(x-k+1, k+x))...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s053146220', 's213543229', 's277161003', 's412368411', 's092476723']
[3060.0, 3060.0, 3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[60, 60, 57, 60, 57]
p02946
u595375942
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X=map(int,input().split())\nl=list(range(X-K+1,X+K))\nprint(l)', "K,X=map(int,input().split())\nl=[str(i) for i in range(X-K+1,X+K)]\nL=' '.join(l)\nprint(L)"]
['Wrong Answer', 'Accepted']
['s258916061', 's502652515']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 88]
p02946
u602773379
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['\ndef input2():\n\treturn map(int,input().split())\n \nk,x=input2()\n\nst=x-k+1\nfi=x+k-1\n\nfor i in range(st,fi+1):\n\tprint(i,end="")', '\ndef input2():\n\treturn map(int,input().split())\n\nk,x=input2()\n\nst=x-k+1\nfi=x+k-1\nans=[]\nfor i in range(st,fi+1):\n\tans.append(i)\n\nprint(*ans)']
['Wrong Answer', 'Accepted']
['s271113613', 's134766003']
[9104.0, 9168.0]
[28.0, 27.0]
[148, 163]
p02946
u604055101
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = input().split(\' \')\nk, x = int(k), int(x) \narr = []\n \nfor i in range(k): \n arr.append(x-i)\n arr.append(x+i)\narr = list(set(arr))\narr.sort()\ntext = ""\nfor i in range(len(arr) - 1):\n text += arr[i] + " "\nprint(text + arr[len(arr) - 1])', "k, x = input().split(' ')\nk, x = int(k), int(x)\n\nar...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s130170238', 's288908510', 's177000557']
[3064.0, 3060.0, 3064.0]
[18.0, 18.0, 17.0]
[246, 160, 262]
p02946
u606146341
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = map(int, input().split())\n[i for i in range(x - k + 1, x + k) if -1000000 <= i <= 1000000]', 'k, x = map(int, input().split())\nprint(" ".join([str(i) for i in range(x - k + 1, x + k) if -1000000 <= i <= 1000000]))']
['Wrong Answer', 'Accepted']
['s605454036', 's601373798']
[2940.0, 2940.0]
[17.0, 18.0]
[97, 119]
p02946
u607563136
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int,input().split())\n\nminx,maxx = -1000000, 1000000\n\nif minx + (k-1) > x:\n l = [i for i in range(minx,minx+x+1)]\n print("".join(str(l)))\nelif maxx - (k-1) < x:\n l = [i for i in range(maxx-x,maxx+1,-1)]\n print("".join(str(l)))\nelse:\n l = [i for i in range(x-(k-1),x+(k-1)+1)]\n pr...
['Wrong Answer', 'Accepted']
['s905292451', 's793207954']
[9188.0, 9140.0]
[31.0, 31.0]
[327, 69]
p02946
u607729897
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["K,X = map(int,input().split())\nans = []\nfor i in range(-K,K+1):\n ans.append(str(i+X))\nprint(' '.join(ans))", "K,X = map(int,input().split())\nans = []\nfor i in range(-K+1,K):\n ans.append(str(i+X))\nprint(' '.join(ans))\n"]
['Wrong Answer', 'Accepted']
['s484723700', 's959985849']
[2940.0, 2940.0]
[19.0, 17.0]
[107, 108]
p02946
u611090896
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = map(int,input().split())\nfor i in range((K-X+1),(K+X)):\n print(i,end=" ")\n', 'K,X = map(int,input().split())\nfor i in range((K-X+1):(K+X)):\n print(i,end=" ")', 'x,k = map(int,input().split())\nprint(*list(range(x-k+1,x+k)))', 'k,x = map(int,input().split())\nprint(*list(range(x-k+1,x+k)))']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s478240354', 's686056187', 's745327818', 's244255956']
[3060.0, 2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[81, 80, 61, 61]
p02946
u620846115
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['x,y=map(int,input().split())\nprint(int(y-x+1:y+x-1))', 'K,X=map(int,input().split())\nprint(*list(range[X-K+1,X+K]))', 'K,X=map(int,input().split())\nprint(*list[X-K+1:X+K])', 'K,X=map(int,input().split())\nprint(*list(range[X-K+1:X+K]))', 'K,X=map(int,input().split())\nprint(*list[X-K+1,X+K])', 'K,X=map(int,input()...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s035057250', 's207492353', 's515733161', 's634576528', 's904440365', 's015604964']
[9016.0, 9156.0, 9028.0, 9148.0, 8928.0, 9160.0]
[28.0, 27.0, 26.0, 25.0, 25.0, 28.0]
[52, 59, 52, 59, 52, 59]
p02946
u624617831
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K = list(map(int, input().split()))\n\nimport numpy as np\n\ntmp = []\nfor i in range(K[1]-K[0]+1, K[1]+K[0]):\n if abs(i) <= 1000000:\n tmp.append(i)\n\nprint(tmp)\n', "k, x = map(int, input().split())\n\nunder = x-(k-1)\ntop = x+(k-1)\n\nans = ''\nfor i in range(under,top+1):\n if i == top:\n an...
['Wrong Answer', 'Accepted']
['s204033048', 's725135706']
[21628.0, 3060.0]
[309.0, 17.0]
[166, 190]
p02946
u626228246
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int,input().split())\nc =[]\nfor i in range(x-k,x+k):\n c.append(i)\nprint(" ".join(c))', "k,x = map(int,input().split())\nc =[]\nfor i in range(x-k+1,x+k):\n c.append(i)\nprint(' '.join(map(str,c)))"]
['Runtime Error', 'Accepted']
['s242529639', 's795503980']
[2940.0, 2940.0]
[17.0, 17.0]
[94, 105]
p02946
u627691992
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\n\nprint([x for x in range(X - K + 1, X + K)])\n\n', 'K, X = map(int, input().split())\n\nprint(*[x for x in range(X - K + 1, X + K)])\n\n']
['Wrong Answer', 'Accepted']
['s722256849', 's114213857']
[9088.0, 9080.0]
[30.0, 30.0]
[79, 80]
p02946
u628262476
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["k, x = map(int, input().split())\nprint(' '.join(list(range(x-k+1, x+k))))", "k, x = map(int, input().split())\nprint(' '.join(map(str, list(range(x-k+1, x+k)))))"]
['Runtime Error', 'Accepted']
['s706417702', 's091361296']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 83]
p02946
u629350026
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\ns=[0]*(k*2-1)\nfor i in range(0,k*2-1):\n s[i]=x-k+1+i\nprint(s)', 'k,x=map(int,input().split())\ns=[0]*(k*2-1)\nfor i in range(0,k*2-1):\n s[i]=x-k+1+i\nprint(*s)']
['Wrong Answer', 'Accepted']
['s031163320', 's240699197']
[2940.0, 3060.0]
[17.0, 17.0]
[91, 92]
p02946
u639104973
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X=map(int, input().split())\ns1=set([])\ns2=set([])\nfor i in range(K):\n s1.add(X-i)\n s2.add(X+i)\ns=s1|s2\nprint(s)', 'K,X=map(int, input().split())\nprint(*range(X-K+1,X+K))']
['Wrong Answer', 'Accepted']
['s895690639', 's326742133']
[3060.0, 3060.0]
[17.0, 17.0]
[115, 54]
p02946
u640603056
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = map(int, f.readline().split())\nmin = x - k + 1\nmax = x + k - 1\ntxt = str(min)\nfor i in range(max - min):\n txt = txt + " " + str(min+1)\n min += 1\nprint(txt)', 'k, x = map(int, input().split())\nmin = x - k + 1\nmax = x + k - 1\na = str(min)\nfor i in range(min+1, max+1):\n a += " " + str(i)\npri...
['Runtime Error', 'Accepted']
['s511175250', 's912156876']
[2940.0, 2940.0]
[17.0, 18.0]
[168, 138]
p02946
u647287452
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["k,x = map(int,input().split())\nlist=[x-(k-1)+i for i in range(2*k-1)]\nprint(' '.join(list))", "k,x = map(int,input().split())\nL=[x-(k-1)+i for i in range(2*k-1)]\nprint(' '.join(map(str, L)))\n"]
['Runtime Error', 'Accepted']
['s033704312', 's309884938']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 96]
p02946
u649591440
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = (int(i) for i in input().split())\n\nresult = list(range(x - k + 1, x + k))\n\nprint(result)', "k, x = (int(i) for i in input().split())\n \nresult = list(range(x - k + 1, x + k))\n\nprint(' '.join(map(str, result)))"]
['Wrong Answer', 'Accepted']
['s960827124', 's702650385']
[2940.0, 2940.0]
[17.0, 18.0]
[95, 116]
p02946
u650265349
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\n\nlower = X - K + 1\nupper = X + K - 1\nans = [i for i in range(lower, upper+1)]\nans_str = " ".join(str(ans))\nprint(ans_str)\n\n', 'K, X = map(int, input().split())\n\nl = K // 2\nlower = X - l\nupper = X + l\nans = [i for i in range(lower, upper+1)]\nans_str = " ".join(ans)\nprint...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s452126278', 's621981813', 's286551961']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[156, 152, 166]
p02946
u663861584
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['lis = input(" ")\n\nK = int(lis[0])\nX = int(lis[1])\n\nmini = X - (K - 1)\nmaxm = X + (K - 1)\nlist_a = []\nfor i in range(0, (K - 1) * 2 + 1):\n list_a.append(str((X - (K - 1)) + i))\n\nprint(" ".join(list_a))', 'lis = input().split(" ")\n\nK = int(lis[0])\nX = int(lis[1])\n\nmini = X - (K - 1)\nmaxm = X + (K - ...
['Runtime Error', 'Accepted']
['s864634931', 's399130494']
[3064.0, 3064.0]
[17.0, 17.0]
[203, 211]
p02946
u672882146
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['a,b=map(int, input().split()) \nbox = [i for i in range(b-a+1,b+a)]\nprint(box)\n', 'a,b=map(int, input().split()) \nbox = [i for i in range(b-a+1,b+a)]\nprint(*box)\n']
['Wrong Answer', 'Accepted']
['s367920623', 's334271381']
[2940.0, 3060.0]
[17.0, 17.0]
[78, 79]
p02946
u674959030
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\nfor i in range(k*2-1):\n if(i==k*2-2):\n print((k-x)+i)\n else:\n print((k-x)+i,end=(" "))', 'k,x=map(int,input().split())\nfor i in range(k*2-1):\n if(i==k*2-2):\n print((x-(k-1))+i)\n else:\n print((x-(k-1))+i,end=(" "))']
['Wrong Answer', 'Accepted']
['s866283767', 's006295954']
[9044.0, 9116.0]
[28.0, 30.0]
[123, 131]
p02946
u687929074
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\n\nlis = list(range(X-K+1,X+K))\nprint(lis)', 'K, X = map(int, input().split())\n\nlis = list(range(X-K+1,X+K))\nans = ""\nfor char in lis:\n ans = ans + str(char) + " "\nprint(ans[:-1])\n']
['Wrong Answer', 'Accepted']
['s431998947', 's410451723']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 135]
p02946
u691112824
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\nprint(list(range(X - K + 1, X + K)))', "K, X = map(int, input().split())\nA = list(range(X - K + 1, X + K))\nprint(*A, sep = ' ')"]
['Wrong Answer', 'Accepted']
['s624517804', 's993751748']
[2940.0, 3060.0]
[17.0, 17.0]
[69, 87]
p02946
u702208001
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k, x = input().split()\nprint(*list(range(x-k+1, x+k)))\n', 'k, x = map(int, input().split())\nprint(*[i for i in range(x-k+1, x+k)])']
['Runtime Error', 'Accepted']
['s705032123', 's415238937']
[2940.0, 3060.0]
[18.0, 17.0]
[55, 71]
p02946
u705427370
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x = map(int,input().split())\n\nc = []\nfor i in range(2*k-1):\n c.append(x-(k-1-i))\n\nprint(",".join(map(str,c)))', 'k,x = map(int,input().split())\n\nc = []\nfor i in range(2*k-1):\n c.append(x-(k-1-i))\n\nprint(" ".join(map(str,c)))']
['Wrong Answer', 'Accepted']
['s890168295', 's565922064']
[2940.0, 2940.0]
[17.0, 17.0]
[114, 114]
p02946
u706414019
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = map(int,input().split())\nx = " ".join(map(str,list(range(X-K,X+K))))\nprint(x)', 'K,X = map(int,input().split())\nprint(*range(X-K-+1,X+K)))', 'K,X = map(int,input().split())\nx = " ".join(map(str,list(range(X-K+1,X+K))))\nprint(x)\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s333543584', 's395020741', 's634247299']
[9100.0, 8820.0, 9084.0]
[25.0, 25.0, 31.0]
[83, 57, 86]
p02946
u709799578
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["k, x = map(int, input().split())\nans = [int(x) for x in range(x-k+1, x+k-1)]\nprint(' '.join(map(str, ans)))", "k, x = map(int, input().split())\nans = [int(x) for x in range(x-k+1, x+k-1)]\nfor i in ans:\n print(i, end=' ')", "k, x = map(int, input().split())\nans = [int(x) for x in range(x-k+1, x+k)]\nprint(' '...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s143972566', 's331615039', 's171318968']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[107, 112, 105]
p02946
u711539583
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
["k, x = map(int, input().split())\nprint(' '.join([x for x in range(x - k + 1, x + k)]))\n", "k, x = map(int, input().split())\nprint(' '.join([x in range(x - k + 1, x + k)]))", "k, x = map(int, input().split())\nprint(' '.join([str(i) for i in range(x - k + 1, x + k)]))\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s436123405', 's733871953', 's035297804']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[87, 80, 92]
p02946
u714642969
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['a = list(map(int,input().split()))\nans = ""\nkaisu = a[0] * 2 +1\nfor i in kaisu:\n b = a[1] - a[0] + 1 + i\n ans = ans + str(b) + " "\nprint(ans[:-1])', 'a = list(map(int,input().split()))\nans = ""\nkaisu = a[0] * 2 +1\nfor i in range(kaisu):\n b = a[1] - a[0] + 1 + i\n ans = ans + str(b) + " "\nprint(...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s713390825', 's980249136', 's033506570']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[152, 159, 160]
p02946
u716043626
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['#B\nK, X = map(int,input().split())\nans = []\n\nfor i in range(K):\n ans.append(X-i)\n \nfor i in range(K):\n ans.append(X+i)\n \nans.sort()\nans.remove(X)\nprint(ans)', '#B\nK, X = map(int,input().split())\nans = []\n\nfor i in range(K):\n ans.append(X-i)\n \nfor i in range(K):\n ans.append(X+i...
['Wrong Answer', 'Accepted']
['s410672616', 's799770659']
[3060.0, 3060.0]
[19.0, 17.0]
[168, 169]
p02946
u724245932
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['\nK, X = map(int, input().split())\n\nA = X + (K - 1)\nB = X - (K - 1)\n\nprint(list(range(B, A+1)))', "\nK, X = map(int, input().split())\n\nA = X + (K - 1)\nB = X - (K - 1)\n\nprint(' '.join(map(str, range(B, A+1))))"]
['Wrong Answer', 'Accepted']
['s671858435', 's826526004']
[2940.0, 2940.0]
[17.0, 18.0]
[166, 180]
p02946
u728615412
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K,X = map(int,input().split())\na = []\nfor i in range(X-K+1,X+K):\n a.append(i)\nprint(a)', 'K,X = map(int,input().split())\na = []\nfor i in range(X-K+1,X+K):\n a.append(i)\na = map(str,a)\nprint(" ".join(a))']
['Wrong Answer', 'Accepted']
['s616487092', 's771158878']
[2940.0, 2940.0]
[18.0, 20.0]
[89, 114]
p02946
u729119068
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['K, X = map(int, input().split())\nprint(X+k-1 for x in range(-K, K) if -10**6 <= X+k-1 >= 10**6)\n', 'K, X = map(int, input().split())\nprint(x for x in range(X-K+1, X+K))', 'K, X = map(int, input().split())\nprint(x for x in range(X-K+1, X+K) if -10**6 <= x >= 10**6)', 'K,X=map(int,input().split())\nprint(*[x for x ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s375045180', 's403740923', 's542617563', 's805378437']
[2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[96, 68, 92, 67]
p02946
u736577709
2,000
1,048,576
There are 2000001 stones placed on a number line. The coordinates of these stones are -1000000, -999999, -999998, \ldots, 999999, 1000000. Among them, some K consecutive stones are painted black, and the others are painted white. Additionally, we know that the stone at coordinate X is painted black. Print all coordi...
['k,x=map(int,input().split())\nprint(*[x for x in range(X-K+1,X+K)])', 'K,X=map(int,input().split())\nprint(*[x for x in range(X-K+1,X+K)])']
['Runtime Error', 'Accepted']
['s777105226', 's780981621']
[9160.0, 9160.0]
[24.0, 26.0]
[66, 66]