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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02945 | u986594273 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input(),split())\nprint(max(a+b,a-b,a*b))', 'a, b = int(input().split())\nm = a + b\nm = m < a - b if m = a - b else m\nm = m < a * b if m = a * b else m\nprint(m)', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s740947820', 's751260128', 's215362901'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [52, 114, 52] |
p02945 | u987637902 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int,input().split())\nx = a + b\ny = a - b\nz = a * b\nO = sorted(list(x, y, z),reverse=True)\nprint(O[0])\n', '\na, b = map(int, input().split())\nx = a + b\ny = a - b\nz = a * b\nO = [x,y,z]\nO = sorted(O,reverse=1)\nprint(O[0]', '\na, b = map(int, input().split())\nx = a + b\ny = a - b\nz = a * b\nO = [... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s442072203', 's947701341', 's016947507'] | [9108.0, 8976.0, 9040.0] | [24.0, 23.0, 29.0] | [113, 110, 111] |
p02945 | u989089752 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = map(int,input().split())\n\nprint(max(list(a+b,a-b,a*b)))\n', 'a,b = map(int,input().split())\nprint(max[a+b,a-b,a*b])\n', 'a,b = map(int,input().split())\nprint(max([a+b,a-b,a*b]))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s244277612', 's691680951', 's937034367'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [62, 55, 57] |
p02945 | u989157442 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['(lambda x, y: print(max(a+b, a-b, a*b)))(map(int,input().split()))', '(lambda x, y: print(max(x+y, x-y, x*y)))(*map(int,input().split()))'] | ['Runtime Error', 'Accepted'] | ['s383048586', 's852178080'] | [2940.0, 2940.0] | [18.0, 17.0] | [66, 67] |
p02945 | u996434204 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ["from collections import Counter\n\n\ndef anagrams(word1,word2):\n def counter(s):\n return Counter(s.upper().replace(' ',''))\n return counter(word1) == counter(word2)\n\nN=int(input())\n\ncount=0\n\nlist=[]\n\nfor i in range(N):\n list.append(input())\n\nfor i in list:\n list.remove(i)\n if len... | ['Runtime Error', 'Accepted'] | ['s079315352', 's337170939'] | [3316.0, 2940.0] | [21.0, 17.0] | [473, 98] |
p02945 | u996665352 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a.b=map(int,input().split())\nprint(max(a+b,a-b,a*b))', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Accepted'] | ['s573572459', 's389568870'] | [2940.0, 2940.0] | [17.0, 18.0] | [52, 52] |
p02945 | u997393081 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input())\nl=[a+b,a-b,a*b]\nprint(max(l))', 'a,b=map(int,input().split());print(max(a*b,a+b,a-b))'] | ['Runtime Error', 'Accepted'] | ['s527072242', 's679454608'] | [2940.0, 2940.0] | [17.0, 17.0] | [50, 52] |
p02945 | u999799597 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a = int(input())\nb = int(input())\nadd = a+b\nminus = a-b\nmulti = a*b\nprint(max(add,minus, multi))', 'a,b = map(int, input().split())\nadd = a+b\nminus = a-b\nmulti = a*b\nprint(max([add,minus, multi]))\n'] | ['Runtime Error', 'Accepted'] | ['s783869946', 's752751471'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 97] |
p02946 | u006883624 | 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(v) for v in input().split(" ")]\n\nt=" ".join([str(v) for v in range(-k+1,k)])\nprint(t)\n', 'K, X = [int(v) for v in input().split(" ")]\n\n\noutput = " ".join([str(v) for v in range(X - (K - 1), X + K)])\n\nprint(output)'] | ['Wrong Answer', 'Accepted'] | ['s723018782', 's671014898'] | [2940.0, 3064.0] | [17.0, 17.0] | [97, 123] |
p02946 | u014690850 | 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)))\n', 'k ,x = map(int, input().split())\nprint(" ".join(map(str, list(range(x - k + 1, x + k)))))'] | ['Wrong Answer', 'Accepted'] | ['s208163719', 's101653636'] | [2940.0, 3064.0] | [17.0, 17.0] | [70, 89] |
p02946 | u017415492 | 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())\nd=[]\nfor i in range((k-1)*2+1):\n d.append(x-k+1+i)\nprint(d)', 'k,x=map(int,input().split())\nd=[]\nfor i in range((k-1)*2+1):\n d.append(x-k+1+i)\nprint(*d)'] | ['Wrong Answer', 'Accepted'] | ['s649366343', 's533041574'] | [2940.0, 3060.0] | [18.0, 17.0] | [89, 90] |
p02946 | u023229441 | 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());q=max(-1000000,b-a+1);w=min(1000000,b+a-1);A=[i for i in range(q,w+1)];print([A][0]*)', 'x,k=map(int,input().split())\nA=[k+i for i in range(-x+1,x)]\nprint(*A)'] | ['Runtime Error', 'Accepted'] | ['s866157536', 's527048668'] | [2940.0, 3060.0] | [17.0, 17.0] | [114, 69] |
p02946 | u027076164 | 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-1)+1):\n A.append(i)\nprint(" ".join(A))', 'K,X = map(int,input().split())\nA = []\nfor i in range(X-(K-1),X+(K-1)+1):\n A.append(i)\nprint(" ".join(A[0]))', 'K,X = map(int,input().split())\nA = []\nfor i in range(X-(K-1),X+(K-1)+1):\n A.append(i)... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s714397503', 's852959963', 's943090988'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [105, 108, 96] |
p02946 | u035420666 | 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=[i for i in range(X-K+1,X+K)]\n\nprint(*C, '')\n", 'K,X=map(int,input().split())\nC=[i for i in range(X-K+1,X+K)]\n\nprint(*C)\n'] | ['Runtime Error', 'Accepted'] | ['s045326391', 's571542443'] | [2940.0, 3060.0] | [18.0, 18.0] | [76, 72] |
p02946 | u039192119 | 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)])', 'K,X=map(int,input().split())\nprint(*[x for x in range(X-K+1,X+K)])'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s212467286', 's576778584', 's355652703'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 18.0] | [65, 68, 66] |
p02946 | u044964932 | 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 main():\n k, x = map(int, input().split())\n ans = []\n for i in range(-k+1, k):\n ans.append(i)\n print(*ans)\n\n\nif __name__ == "__main__":\n main()\n', 'def main():\n k, x = map(int, input().split())\n ans = []\n for i in range(-k+1, k):\n ans.append(x+i)\n print(*ans)... | ['Wrong Answer', 'Accepted'] | ['s126438616', 's196572576'] | [3060.0, 3060.0] | [17.0, 17.0] | [169, 171] |
p02946 | u045408189 | 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(x-k+1,x+k):\n if i<x+k-1:\n print(i,end' ')\n else:\n print(i)\n", "k,x=map(int,input().split())\nfor i in range(x-k+1,x+k):\n if i<x+k-1:\n print(i,end'')\n else:\n print(i)", "k,x=map(int,input().split())\nprint(' '.join(map(str,range(x-k+1,x+k))))"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s132732312', 's471760489', 's890254081'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [111, 109, 71] |
p02946 | u048214692 | 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\nc = b + a - 1\nd = b - a + 1\n\nn_list = []\n\nif c == d:\n print(c)\nelif c != d:\n max_n = max(c,d)\n min_n = min(c,d)\n for i in range(min_n, max_n+1):\n n_list.append(i)\n\nprint(n_list)', 'a,b=map(int, input().split())\n\nc = b + a - 1\nd = b - a + 1\n\nn_list ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s265418138', 's706179396', 's929570018'] | [3060.0, 3060.0, 3064.0] | [18.0, 17.0, 17.0] | [227, 230, 305] |
p02946 | u062604519 | 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=[]\nfor i in range(2*k-1):\n l.append(x-(k-1)+i)\ns = ' '.join(map(str,l))\nprint(s)", "k,x = map(int,input().split())\nl=[]\nfor i in range(2*k-1):\n l.append(x-(k-1)+i)\ns = ' '.join(map(str,l))\nprint(s)"] | ['Wrong Answer', 'Accepted'] | ['s522555210', 's120339116'] | [2940.0, 2940.0] | [17.0, 17.0] | [114, 114] |
p02946 | u066455063 | 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 = [X]\n\nfor i in range(K-1):\n ans.append(X+i+1)\n\nans.reverse()\nfor i in range(K-1):\n ans.append(X-(i+1))\n\nans.reverse()\nprint("".join(ans))\n', 'K, X = map(int, input().split())\n\nans = [X]\n\nfor i in range(K-1):\n ans.append(X+(i+1))\n\nans.reverse()\nfor i... | ['Runtime Error', 'Accepted'] | ['s910443099', 's473470141'] | [2940.0, 3060.0] | [18.0, 17.0] | [183, 177] |
p02946 | u067899663 | 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(k) for k in input().split(" ")]\n\nprint(" ".join([str(_) for _ in range(max(-1000000,x-k+1),min(1000000,x+k-1))]))\n', 'k,x=[int(k) for k in input().split(" ")]\n\nprint(" ".join([str(_) for _ in range(max(-1000000,x-k+1),min(1000001,x+k))]))\n'] | ['Wrong Answer', 'Accepted'] | ['s618470349', 's660290743'] | [2940.0, 2940.0] | [18.0, 17.0] | [123, 121] |
p02946 | u069129582 | 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=[x]\nfor i in range(1,k):\n ans.insert(0,x-i)\n ans.append(x+i)\n \nprint(ans)', "k,x=map(int,input().split())\n\nans=[x]\nfor i in range(1,k):\n ans.insert(0,x-i)\n ans.append(x+i)\n\nan=map(str,ans)\na=' '.join(an)\n \nprint(a)"] | ['Wrong Answer', 'Accepted'] | ['s365629996', 's030260025'] | [2940.0, 2940.0] | [17.0, 17.0] | [116, 146] |
p02946 | u072549237 | 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=input()\nK=int(I.split()[0])\nX=int(I.split()[1])\n \nx=0\nR=[]\n \nfor i in range(K*2-1):\n x=X+1+i\n R.append(x)\n \nprint(' '.join(map(str,R)))", "I=input()\nK=int(I.split()[0])\nX=int(I.split()[1])\n\nx=0\nR=[]\n\nfor i in range(K*2-1):\n x=X+1*i\n R.append(x)\n \nprint(' '.join(map(str,R)))\n... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s340388900', 's427169854', 's517521732'] | [3060.0, 3060.0, 3060.0] | [18.0, 17.0, 18.0] | [146, 145, 148] |
p02946 | u075303794 | 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),X+(K-1)))', 'K,X = map(int, input().split())\nlists = list(range(X-(K-1),X+K))\nans = map(str, lists)\nprint(" ".join(ans))'] | ['Wrong Answer', 'Accepted'] | ['s460368269', 's786724316'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 107] |
p02946 | u080608919 | 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\nfor i in range(x-k+1,x+k):\n if x < x+k-1:\n print(i, end ="")\n else:\n print(i)', 'k,x = map(int,input().split())\nans = []\nfor i in range(x-k+1,x+k):\n ans.append(i)\nprint(*ans)'] | ['Wrong Answer', 'Accepted'] | ['s463132844', 's138467989'] | [3060.0, 3060.0] | [17.0, 17.0] | [129, 96] |
p02946 | u082446606 | 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()]\n[i for i in range(x - k + 1,x + k)]', 'a,b = [int(x) for x in input().split()]\nprint(max([a + b,a-b,a*b]))\n', "k,x = [int(x) for x in input().split()]\nprint(' '.join([str(i) for i in range(x - k + 1,x + k)]))"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s007537602', 's090656430', 's994591206'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [75, 68, 97] |
p02946 | u087373960 | 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 stones(input):\n \tk = int(input[0])\n x = int(input[1])\n if k is 1:\n print(x)\n return x\n j = [i for i in range(x - k, x + k)]\n s = ' '.join(map(str, j))\n print(s)\n return\n\n\nstones(input())", "def stones(input):\n k, x = map(int, input.split())\n if k is 1:\n ... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s425913568', 's710586663', 's993284192', 's412547321'] | [2940.0, 3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 18.0] | [223, 219, 217, 221] |
p02946 | u092382030 | 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\nX,K = map(int,input().split())\na=list(np.arange(np.max([-1000000,X-K+1]),np.min([1000000,X+K-1])))\nprint(' '.join(map(str, a)))", "import numpy as np\nX,K = map(int,input().split())\na=list(np.arange(np.max([-1000000,K-X+1]),np.min([1000000,K+X])))\nprint(' '.join(map(str, a)))"] | ['Wrong Answer', 'Accepted'] | ['s576419309', 's071499071'] | [12388.0, 12392.0] | [158.0, 152.0] | [146, 144] |
p02946 | u097026338 | 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\nfirstline=input().split()\nK=int(firstline[0])\nX=int(firstline[1])\nnp.arange(X-K+1,X+K)\n\n', 'import numpy as np\nfirstline=input().split()\nK=int(firstline[0])\nX=int(firstline[1])\nblackstone=np.arange(X-K+1,X+K)\narray_info(blackstone)', 'firstline=input().split()\nK=int(firstline[0])\nX=int... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s049778495', 's169709910', 's830139323', 's597825669'] | [12392.0, 12500.0, 3060.0, 2940.0] | [149.0, 150.0, 17.0, 17.0] | [107, 139, 114, 116] |
p02946 | u102242691 | 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())\nl = x-k+1\nr = x+k-1\nl = [i for i in range(l,r+1)]\nprint(l)\n', '\nk,x = map(int,input().split())\nl = [str(i) for i in range(x-k+1,x+k)]\nans = ""\nfor i in range(len(l)-1):\n ans += l[i] + " "\nprint(ans + l[-1])\n'] | ['Wrong Answer', 'Accepted'] | ['s499611642', 's553113620'] | [2940.0, 2940.0] | [17.0, 18.0] | [91, 147] |
p02946 | u105302073 | 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()]\nans = " ".join([str(i) for i in list(range(X - l, X + l + 1))])\nprint(ans)\n', 'K, X = [int(i) for i in input().split()]\nl = K - 1\nans = " ".join([str(i) for i in list(range(X - l, X + l + 1))])\nprint(ans)\n'] | ['Runtime Error', 'Accepted'] | ['s790611981', 's680713714'] | [2940.0, 2940.0] | [17.0, 17.0] | [116, 126] |
p02946 | u106778233 | 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())\nleft=max(-10000,x-k+1)\nright=min(10000,x+k-1)\n#ans=right-left+1\n#print(ans)\nfor i in range(left,right+1):\n print(i ,end="/n")', 'k,x=map(int,input().split())\nleft=max(-10000,x-k+1)\nright=min(10000,x+k-1)\nans=right-left+1\nprint(ans)', 'k,x=map(int,input().split())\nleft=max(-100... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s257595179', 's804674743', 's502013652'] | [3060.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [155, 102, 170] |
p02946 | u108072608 | 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','.join([str(i) for i in range(x-k+1, x+k-1+1)]).replace(',', ' ')", "k, x = map(int, input().split())\n' '.join([str(i) for i in range(x-k+1, x+k-1+1)])", 'k, x = map(int, input().split())\nans = [i for i in range(x-k+1, x+k-1+1)]\nprint(*ans)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s583498690', 's742698178', 's114404100'] | [8956.0, 9012.0, 9024.0] | [26.0, 24.0, 32.0] | [100, 82, 85] |
p02946 | u115877451 | 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=list(range(b-(a-1),b+(a-1)+1))\nprint(c)\nd=' '.join(map(str,c))\nprint(d)", "a,b=map(int,input().split())\nprint(' '.join(list(range(b-(a-1),b+(a+1)))))", "a,b=map(int,input().split())\nc=list(range(b-(a-1),b+(a-1)+1))\nd=' '.join(map(str,c))\nprint(d)"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s862234950', 's938161241', 's585535169'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [102, 74, 93] |
p02946 | u123745130 | 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(*list(range(a-b+1,a+b-1)))', 'a,b=map(int,input().split())\nprint(*list(range(b-a+1,a+b-1)))', 'a,b=map(int,input().split())\nprint(*list(range(b-a+1,a+b)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s454658324', 's460795855', 's132869048'] | [3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0] | [61, 61, 59] |
p02946 | u124025116 | 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 = int(input())\nX = int(input())\nA=X-K+1\nB=X+K-1\nL=[]\nfor i in range(A,B):\n if i > 1000000 or i < -1000000:\n continue\n L.attend(str(i))\nprint(*L)', 'K = int(input())\nX = int(input())\nA=X-K+1\nB=X+K-1\nL=[]\nfor i in range(A,B):\n if i > 1000000 or i < -1000000:\n continue\n L.attend(i)\nprint(*L... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s304806325', 's405746820', 's748702612', 's697301718'] | [3060.0, 3060.0, 3060.0, 3060.0] | [17.0, 18.0, 17.0, 17.0] | [151, 146, 149, 150] |
p02946 | u124133155 | 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 = x - k + 1\nb = x + k\n\ny = []\n\nfor i in range(a,b):\n y.append(i)\nprint(*y,sep=',')", "k, x = map(int,input().split())\n\na = x - k + 1\nb = x + k\n\ny = []\n\nfor i in range(a,b):\n y.append(i)\nprint(*y,sep=' ')"] | ['Wrong Answer', 'Accepted'] | ['s092927404', 's054648776'] | [3064.0, 3064.0] | [17.0, 18.0] | [142, 142] |
p02946 | u126183307 | 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... | ['int = list(map(int,input().split()))\n\nk=int.pop(0)\nx=int.pop(1)\n\np=range((x+1)-k,x+k)\n\nprint(p)', 'int = list(map(int,input().split()))\n\nk = int[0]\nx = int[1]\n\n\nprint(list(range(x + 1 - k,x + k)))\n', 'int = list(map(int,input().split()))\n\nk = int[0]\nx = int[1]\n\np = range(x + 1 - k,x + k)\n\nprint(l... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s074919706', 's123151883', 's200500588', 's496635710', 's496773569', 's596962701', 's626351473', 's693965535', 's809292428', 's705606282'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0] | [95, 98, 103, 103, 99, 91, 110, 91, 87, 117] |
p02946 | u127921738 | 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())\nif k > 1:\n print (*([p for p in range(x-k+1,x)] + [p for p in range(x+1, x+k)]))\nelse:\n print (x)', 'k, x = map(int, input().split())\nif k > 1:\n print (*([p for p in range(x-k+1,x+1)] + [p for p in range(x+1, x+k)]))\nelse:\n print (x)'] | ['Wrong Answer', 'Accepted'] | ['s431157375', 's365563090'] | [3064.0, 3060.0] | [18.0, 17.0] | [136, 138] |
p02946 | u133936772 | 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())\nprint(*[i for i in range(x-k+1,x+k)])', 'k,x=map(int,input().split())\nprint(*range(x-k+1,x+k))'] | ['Runtime Error', 'Accepted'] | ['s191393582', 's574062732'] | [2940.0, 3060.0] | [18.0, 18.0] | [54, 53] |
p02946 | u137912513 | 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())\nnum = []\nfor i in range(-1000000,1000000):\n num.append(i)\nif x-k+1 <= -1000000:\n print(num[:k])\nelse:\n print(num[x-k+1000001:x+1000001])\n', "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'] | ['s096292682', 's427958518'] | [82248.0, 2940.0] | [295.0, 17.0] | [178, 117] |
p02946 | u138781768 | 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 = [i - 1 for i in range(1, k)]\ncache = [i + 1 for i in range(1, k)]\nprint(*sorted((ans + cache).append(x)))', '#player1:1\n#player2:2\n#blank:0\nk, m =map(int, input().split())\nn = k - 1\nanswer = [m]\nfor i in range(1, n + 1):\n answer.append(m - i)\n answer.append(m + ... | ['Runtime Error', 'Accepted'] | ['s557790530', 's195285508'] | [2940.0, 3060.0] | [17.0, 17.0] | [144, 219] |
p02946 | u141410514 | 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-k+1\nmax = x+k\nprint(max)\nans = str(min)\nmin += 1\nfor x in range(min,max):\n ans += ' ' + str(x)\n\nprint(ans)", "k,x = map(int, input().split())\nmin = x-k+1\nmax = x+k\nans = str(min)\nmin += 1\nfor x in range(min,max):\n ans += ' ' + str(x)\n \nprint(ans)"] | ['Wrong Answer', 'Accepted'] | ['s497838560', 's935317583'] | [3060.0, 3060.0] | [24.0, 18.0] | [149, 139] |
p02946 | u146575240 | 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... | ['# One Clue\nN, X = map(int,input().split())\n\nans_1 = X-N+1\nans_2 = X+N\nans = list(range(ans_1,ans_2,1))\n\nprint(ans)', '# One Clue\nN, X = map(int,input().split())\n\nans_1 = X-N+1\nans_2 = X+N\nans_int = list(range(ans_1, ans_2, 1))\n\nans=[str(a) for a in ans_int]\nans=" ".join(ans)\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s690642345', 's455924733'] | [2940.0, 3060.0] | [17.0, 17.0] | [114, 168] |
p02946 | u155667931 | 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())\nstr(list(range(B-(A-1),A+B))).strip('[').strip(']').replace(',','')", "A,B = map(int,input().split())\nprint(str(list(range(B-(A-1),A+B))).strip('[').strip(']').replace(',',''))"] | ['Wrong Answer', 'Accepted'] | ['s403822228', 's235809155'] | [2940.0, 3060.0] | [17.0, 20.0] | [98, 105] |
p02946 | u156113867 | 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.arange(X-K+1, X+K)\n\nprint(ans.tolist)\n', 'import numpy as np\n\nK, X = map(int, input().split())\n\nans = np.arange(X-K+1, X+K)\n\nprint(ans.tolist())\n', 'import numpy as np\n\nK, X = map(int, input().split())\n\nans = np.arange(X-K+1, X+K)\n\npri... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s639785140', 's922060477', 's312602842'] | [12396.0, 21404.0, 12480.0] | [149.0, 328.0, 154.0] | [101, 103, 94] |
p02946 | u160459241 | 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\nli = [i for i in range(x-k+1,x+k)]\n\nprint(' '.join(li))", "k,x = map(int,input().split())\n\nli = [str(i) for i in range(x-k+1,x+k)]\n\nprint(' '.join(li))"] | ['Runtime Error', 'Accepted'] | ['s441485072', 's533086447'] | [2940.0, 3064.0] | [17.0, 18.0] | [87, 92] |
p02946 | u162893962 | 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), (X+K)))', "K, X = map(int, input().split())\nS = ' '.join([str(i) for i in range((X-K+1), (X+K))])\nprint(S)"] | ['Wrong Answer', 'Accepted'] | ['s187087884', 's556164661'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 95] |
p02946 | u163501259 | 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\ninput = sys.stdin.readline\ndef main():\n K, X = map(int, input().split())\n LOWER = max(X - K + 1, -1000000)\n UPPER = min(X + K - 1, 1000000)\n print(LOWER)\n ans = [i for i in range(LOWER, UPPER+1)]\n print(ans)\n\nif __name__ == '__main__':\n main()\n", 'import sys\ninput = sys.st... | ['Wrong Answer', 'Accepted'] | ['s038586485', 's021805363'] | [3060.0, 2940.0] | [17.0, 17.0] | [276, 274] |
p02946 | u163874353 | 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((K - 1) * 2 + 1)', 'K, X = map(int, input().split())\nl = []\nfor i in range(X - (K - 1), X + K):\n l.append(str(i))\nprint(" ".join(l))\n '] | ['Wrong Answer', 'Accepted'] | ['s681536248', 's942529116'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 124] |
p02946 | u166621202 | 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))\n', 'K, X = map(int,input().split())\nmin = X - K + 1\nmax = X + K\nprint(*list(range(min,max)))\n'] | ['Wrong Answer', 'Accepted'] | ['s364899791', 's309169772'] | [2940.0, 3060.0] | [17.0, 17.0] | [58, 89] |
p02946 | u167523937 | 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\nmax_x=x+k\nans=[]\nfor i in range(min_x,max_x+1):\n ans.append(i)\nprint(*ans)', 'k,x=map(int,input().split())\nmin_x=x-k\nmax_x=x+k\nans=[]\nfor i in range(min_x+1,max_x):\n ans.append(i)\nprint(*ans)'] | ['Wrong Answer', 'Accepted'] | ['s750991984', 's055318073'] | [3060.0, 3060.0] | [18.0, 17.0] | [116, 116] |
p02946 | u167681750 | 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\nl = max(-1000000, x-k+1)\nr = min(1000001, x+k)\n\nprint([i for i in range(l,r)])', 'k, x = map(int,input().split())\nprint(*range(x-k+1, x+k))'] | ['Wrong Answer', 'Accepted'] | ['s872859457', 's469290790'] | [2940.0, 3060.0] | [17.0, 17.0] | [112, 57] |
p02946 | u168333670 | 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())\n\nprint(" ".join(list(range(X - K, X + K + 1))))', 'K, X = map(int, input().split())\n\nprint(" ".join(list(map(str, range(X - K + 1, X + K)))))'] | ['Runtime Error', 'Accepted'] | ['s703674913', 's109470902'] | [2940.0, 2940.0] | [18.0, 17.0] | [72, 90] |
p02946 | u168416324 | 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,k=map(int,input().split())\nx=k-n+1\nout=""\nfor i in range(2*n+1):\n out+=str(x+i)+" "\nprint(out[:-1])', 'n,k=map(int,input().split())\nx=k-n+1\nout=""\nfor i in range(2*(n-1)+1):\n out+=str(x+i)+" "\nprint(out[:-1])\n'] | ['Wrong Answer', 'Accepted'] | ['s245625518', 's864438327'] | [9100.0, 9128.0] | [26.0, 26.0] | [102, 107] |
p02946 | u169696482 | 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([i for i in range(x - k+1, k+x)])', "k, x = map(int, input().split())\nA = [str(i) for i in range(x - k+1, k+x)]\nA = ' '.join(A)\nprint(A)"] | ['Wrong Answer', 'Accepted'] | ['s487996645', 's307497558'] | [2940.0, 2940.0] | [18.0, 17.0] | [72, 99] |
p02946 | u172010803 | 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=[0]*(2*k-1)\nfor i in range(2*k-1):\n list[i] = x-k+1+i\nprint(list)', 'k,x = map(int,input().split(" "))\nlist=[0]*(2*k-1)\nfor i in range(2*k-1):\n list[i] = x-k+1+i\nprint(*list)'] | ['Wrong Answer', 'Accepted'] | ['s965193921', 's815696580'] | [2940.0, 3060.0] | [17.0, 17.0] | [107, 108] |
p02946 | u173178698 | 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(list(range(x-k+1,x+k)))', 'k,x = map(int,(input().split()))\nprint(" ".join(map(str,list(range(x-k+1,x+k)))))'] | ['Wrong Answer', 'Accepted'] | ['s484376466', 's935356484'] | [2940.0, 2940.0] | [17.0, 17.0] | [68, 81] |
p02946 | u188745744 | 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... | ['listA = []\nA,B = list(map(int,input().split()))\nfor i in range(B-A+1,B+1):\n listA.append(i)\nfor i in range(B+1,B+A):\n listA.append(i)\nprint(listA)', 'listA = []\nA,B = list(map(int,input().split()))\nfor i in range(B-A+1,B+1):\n listA.append(i)\nfor i in range(B+1,B+A):\n listA.append(i)\nlistA = li... | ['Wrong Answer', 'Accepted'] | ['s594249474', 's906400118'] | [3064.0, 3068.0] | [17.0, 17.0] | [152, 191] |
p02946 | u188916636 | 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()))\nK = A[0]\nX = A[1]\ns = K - 1\nans = []\nfor i in range(X-s, X+s+1):\n ans.append(i)\n\nprint(ans)', "A = list(map(int, input().split()))\nK = A[0]\nX = A[1]\ns = K - 1\nans = []\nfor i in range(X-s, X+s+1):\n ans.append(i)\n\nprint(' '.join(map(str, ans)))\n"] | ['Wrong Answer', 'Accepted'] | ['s066887688', 's003094725'] | [3060.0, 2940.0] | [17.0, 17.0] | [128, 149] |
p02946 | u189049195 | 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()))\n\ns = []\n\nfor i in range(x-k+1, x+k):\n s.append(i)\n\nprint(s)\n', "k, x = list(map(int, input().split()))\n\ns = []\n\nfor i in range(x-k+1, x+k):\n s.append(i)\n\ns = map(str, s)\n\nl = ' '.join(s)\n\nprint(l)\n"] | ['Wrong Answer', 'Accepted'] | ['s367946115', 's123125481'] | [2940.0, 2940.0] | [20.0, 17.0] | [102, 136] |
p02946 | u189427183 | 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]\nfor i in range(1,K):\n a.append(X-i)\n a.append(X+i)\na.sort()\nprint("{}".format(a))', 'K,X = map(int, input().split())\na=[X]\nfor i in range(1,K):\n a.append(X-i)\n a.append(X+i)\na.sort()\nL=[str(k) for k in a]\nL=" ".join(L)\nprint(L)'] | ['Wrong Answer', 'Accepted'] | ['s814251555', 's046215013'] | [3188.0, 3060.0] | [18.0, 18.0] | [121, 144] |
p02946 | u193927973 | 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, X=map(int, input().split())\nans=[]\nfor _ in range(X-N+1, X+N):\n ans.append(_)\nprint(" ".join(ans))', 'N, X=map(int, input().split())\nans=[]\nfor _ in range(X-N+1, X+N):\n ans.append(str(_))\nprint(" ".join(ans))\n'] | ['Runtime Error', 'Accepted'] | ['s093966350', 's861608674'] | [9108.0, 9152.0] | [31.0, 27.0] | [102, 108] |
p02946 | u195177386 | 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\nend = X + K -1\n\nprint([i for i in range(start, end+1)])\n', 'K, X = map(int, input().split())\n\nstart = X - K +1\nend = X + K -1\n\nprint(" ".join([str(i) for i in range(start, end+1)]))\n'] | ['Wrong Answer', 'Accepted'] | ['s310433685', 's542735934'] | [2940.0, 2940.0] | [17.0, 17.0] | [107, 122] |
p02946 | u198062737 | 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([k for k in range(X - K + 1, X + K)]))', 'K, X = map(int, input().split(" "))\nprint(\' \'.join([str(k) for k in range(X - K + 1, X + K)]))\n'] | ['Runtime Error', 'Accepted'] | ['s117307008', 's298790512'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 95] |
p02946 | u203597140 | 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... | ['min_b = max(-1000000, x - (k - 1) )\nmax_b = min(1000000, x + (k - 1) )\nans = []\nfor i in range(min_b, max_b + 1):\n ans.append(str(i))\nprint(" ".join(ans))', 'k, x = [int(v) for v in input().split()]\n\nmin_b = max(-1000000, x - (k - 1) )\nmax_b = min(1000000, x + (k - 1) )\nans = []\nfor i in range(min_b, max_b... | ['Runtime Error', 'Accepted'] | ['s541765650', 's166001359'] | [2940.0, 3060.0] | [17.0, 17.0] | [155, 197] |
p02946 | u205087376 | 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(i for i in range(int(x-k+1),int(x+k)))', 'k,x = map(int,input().split())\nprint([i for i in range(x-k+1,x+k)]) ', 'k,x = map(int,input().split())\nprint(*[i for i in range(x-k+1,x+k)]) \n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s786751369', 's866983748', 's989863307'] | [2940.0, 2940.0, 3316.0] | [17.0, 17.0, 23.0] | [75, 68, 70] |
p02946 | u207464563 | 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\nfor i in range(X-K+1,X+K):\n if i != X + K -1:\n print(i,end="")\n else:\n print(i)', 'K,X = map(int,input().split())\n\nfor i in range(X-K+1,X+K):\n if i != X + K -1:\n print(str(i) + " ",end="")\n else:\n print(i)\n'] | ['Wrong Answer', 'Accepted'] | ['s318376044', 's572535929'] | [3060.0, 3060.0] | [17.0, 17.0] | [131, 143] |
p02946 | u207799478 | 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 math\n\n\ndef readints():\n return list(map(int, input().split()))\n\n\nk, x = map(int, input().split())\n\nif k == 1:\n print(100)\n exit()\n\nfor i in range(k):\n print(x-(k-1)+i)\n\nfor j in range(1, k):\n print(x+j)\n', 'import math\n\n\ndef readints():\n return list(map(int, input().spli... | ['Wrong Answer', 'Accepted'] | ['s524408873', 's019439020'] | [3316.0, 3316.0] | [19.0, 20.0] | [225, 156] |
p02946 | u208219327 | 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=range(X+1-K,X-1+K,1)\nb=list(a)\nprint(' '.join(map(str, b)))\n", "K,X=map(int,input().split())\na=range(X+1-K,X+K,1)\nb=list(a)\nprint(' '.join(map(str, b)))\n"] | ['Wrong Answer', 'Accepted'] | ['s929880405', 's857597643'] | [2940.0, 2940.0] | [17.0, 19.0] | [91, 89] |
p02946 | u208497224 | 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())\nsa = k-1\nzahyous = []\nfor add in range(-sa, sa+1):\n zahyous.append(str(x + sa))\nret_val = " ".join(zahyous)\nprint(ret_val)', 'k, x = map(int, input())\nsa = k-1\nzahyous = []\nfor add in range(-sa, sa+1):\n zahyous.append(str(x + sa))\nret_val = " ".join(zahyous)', 'k, x = map(int, in... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s887987739', 's895314198', 's317524040'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [148, 133, 157] |
p02946 | u210221529 | 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()]\nprint(" ".join(range(x - k + 1, x + k - 1)))', 'k, x = [int(x) for x in input().split()]\nprint(" ".join(str(i) for i in range(x - k + 1, x + k)))'] | ['Runtime Error', 'Accepted'] | ['s869052026', 's443194385'] | [2940.0, 2940.0] | [17.0, 18.0] | [85, 97] |
p02946 | u215065194 | 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... | ['#137\nk,x = map(int, input().split())\n\nmn = max(x - k+1, -20000)\nmx = min(x + k-1, 20000)\nres = [i for i in range(mn, mx+1)]\nprint(res)', "#137\nk,x = map(int, input().split())\n\nmn = max(x - k+1, -20000)\nmx = min(x + k-1, 20000)\nres = [str(i) for i in range(mn, mx+1)]\nprint(' '.join(res))"] | ['Wrong Answer', 'Accepted'] | ['s873679486', 's022325917'] | [3060.0, 2940.0] | [17.0, 17.0] | [134, 149] |
p02946 | u216392490 | 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 = range(x-k+1, x+k-1)\nprint(" ".join(map(str, a)))\n', 'k, x = map(int, input().split())\na = range(x-k+1, x+k)\nprint(" ".join(map(str, a)))\n'] | ['Wrong Answer', 'Accepted'] | ['s528619312', 's669997259'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 84] |
p02946 | u219086885 | 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()]\nprint(list(range(x-k+1,x+k)))\n', "k, x = [int(x) for x in input().split()]\nprint(' '.join([str(x) for x in range(x-k+1,x+k)]))\n"] | ['Wrong Answer', 'Accepted'] | ['s453527843', 's391527128'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 93] |
p02946 | u222801992 | 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=[0]*(2*K-1)\nfor i in range(2*K-1):\n A[i]=X-K+1+i\n i+=1\nprint(A)', "K,X=map(int, input().split())\nL=2*K-1\nA=[0]*(L)\nfor i in range(L):\n A[i]=X-K+1+i\n i+=1\nprint(' '.join(map(str,A)))"] | ['Wrong Answer', 'Accepted'] | ['s976317820', 's063550737'] | [2940.0, 2940.0] | [17.0, 18.0] | [101, 120] |
p02946 | u225577738 | 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 = []\nfor i in range(7 - K + 1, 7 + K):\n if i > -1000000 or i < 1000000:\n ans.append(i)\nprint(ans)\nprint(" ".join(map(str, ans)))', 'K, X = map(int, input().split())\n\nans = []\nfor i in range(X - K + 1, X + K):\n if i > -1000000 or i < 1000000:\n ans.a... | ['Wrong Answer', 'Accepted'] | ['s231343822', 's342348375'] | [2940.0, 2940.0] | [17.0, 17.0] | [176, 168] |
p02946 | u227585789 | 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... | ['p = list(map(int, input().split()))\nans = list(range(p[1]-p[0]+1, p[1]+p[0]))\nprint(ans)', 'p = list(map(int, input().split()))\nans = list(range(p[1]-p[0]+1, p[1]+p[0]))\nprint(*ans)'] | ['Wrong Answer', 'Accepted'] | ['s702341019', 's348209203'] | [8956.0, 9080.0] | [24.0, 28.0] | [89, 90] |
p02946 | u236536206 | 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,x=map(int,input().split())\n\nkuro=[]\nfor i in range(x-n+1,x):\n kuro.append(i)\nfor i in range(x,n+x):\n kuro.append(i)\nprint(kuro)', 'n,x=map(int,input().split())\n\nkuro=[]\nfor i in range(x-n+1,x):\n kuro.append(i)\nfor i in range(x,n+x):\n kuro.append(i)\nK=str(kuro)\nprint("".join(K))', 'n,x=map... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s199025342', 's665939089', 's433335760'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [135, 153, 207] |
p02946 | u237316771 | 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()]\nrl = max(-1000000, x - k + 1)\nrr = min(+1000000, x + k - 1)\nprint(" ".join(range(rl, rr + 1)))', 'k, x = [int(x) for x in input().split()]\nrl = max(-1000000, x - k + 1)\nrr = min(+1000000, x + k - 1)\nprint(*(range(rl, rr + 1)))'] | ['Runtime Error', 'Accepted'] | ['s685732211', 's360573109'] | [2940.0, 3060.0] | [17.0, 17.0] | [135, 128] |
p02946 | u243755204 | 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\nN,M = map(int,input().split())\n\na = M - N + 1\nb = M + N\nprint(list(range(a,b)))\n', "import numpy as np\nN,M = map(int,input().split())\n\na = M - N + 1\nb = M + N\nc= list(range(a,b))\nprint(' '.join(map(str, c)))\n"] | ['Wrong Answer', 'Accepted'] | ['s194401843', 's861387822'] | [21036.0, 12396.0] | [280.0, 150.0] | [99, 124] |
p02946 | u252523823 | 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())\nk = abs(k)\nprint(list(range(x-(k-1), x+k)))', "k, x = map(int, input().split())\nk = abs(k)\nprint(' '.join(list(map(str, range(x-(k-1), x+k)))))"] | ['Wrong Answer', 'Accepted'] | ['s864637408', 's030675582'] | [2940.0, 2940.0] | [17.0, 18.0] | [76, 96] |
p02946 | u252828980 | 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,iinput().split))\nfor i in range(x-k+1,x+k):\n print(i)', 'k,x = map(int,input())\nmin1 = x-k+1\nmax1 = x+k-1\nL = []\nfor i in range(min1,max1+1):\n L.append(i)\nprint(*L)\n ', 'k,x = map(int,input().split())\nmin1 = x-k+1\nmax1 = x+k-1\nL = []\nfor i in range(min1,max1+1):\n L.append(i)\nprint(*L)... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s797519671', 's843257341', 's428215259'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 18.0] | [68, 111, 116] |
p02946 | u253952966 | 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())\nrng = range(x-k+1, x+k)\nprint(' '.join(map(str, rng)))", "k, x = map(int, input().split())\nrng = range(x-k+1, x+k)\nprint(' '.join(map(str, rng)))"] | ['Runtime Error', 'Accepted'] | ['s928157498', 's182976988'] | [2940.0, 2940.0] | [17.0, 18.0] | [79, 87] |
p02946 | u258862116 | 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 = []\nfor i in range(1,K):\n ans.append(X+i)\n ans.append(X-i)\nans.append(X)\n\nprint(*ans)', 'K,X = map(int, input().split())\n\nans = []\nfor i in range(1,K):\n ans.append(X+i)\n ans.append(X-i)\nans.append(X)', 'K,X = map(int, input().split())\n\nans = []\nfor i in range... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s722773438', 's782043094', 's560508357'] | [3316.0, 2940.0, 3060.0] | [22.0, 17.0, 17.0] | [125, 112, 136] |
p02946 | u263226212 | 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 -*-\n\n# input\nK, X = map(int, input().split())\n\n# solve & output\nif K > 1:\n for i in range(X - K + 1, X + K - 1):\n print(i, end=' ')\nelse:\n print(X)\n", "# -*- coding: utf-8 -*-\n\n# input\nK, X = map(int, input().split())\n\n# solve & output\nif K > 1:\n for i in range(X ... | ['Wrong Answer', 'Accepted'] | ['s111519582', 's631314030'] | [3060.0, 3060.0] | [17.0, 17.0] | [181, 243] |
p02946 | u271176141 | 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())\nnumber = []\n\nfor i in range(x - (k - 1), x + (k - 1) + 1):\n number.append(i)\n\nprint(number)', 'k, x = map(int, input().split())\nnumber = []\n\nfor i in range(x - (k - 1), x + (k - 1) + 1):\n number.append(i)\n\nnumber_str = [str(n) for n in number]\n\nnum = " ".join(numbe... | ['Wrong Answer', 'Accepted'] | ['s238410668', 's067654851'] | [9136.0, 9108.0] | [29.0, 28.0] | [189, 332] |
p02946 | u273242084 | 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())\ncnt = 1\nwhile A*cnt-(cnt-1) < B:\n cnt +=1\nprint(cnt)', 'k,x = map(int,input().split())\nprint(*range(x-k+1,x+k))'] | ['Wrong Answer', 'Accepted'] | ['s677319677', 's175843735'] | [2940.0, 3060.0] | [2103.0, 17.0] | [86, 55] |
p02946 | u275512681 | 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()) \ns = b - (a-1)\ne = b + (a-1)\nlst = list(range(s, e+1))\nprint(lst)', 'a, b = (int(i) for i in input().split()) \ns = b - (a-1)\ne = b + (a-1)\nlst = list(range(s, e+1))\nlst.sort()\nprint(*lst) '] | ['Wrong Answer', 'Accepted'] | ['s205495541', 's146194374'] | [3060.0, 3060.0] | [18.0, 17.0] | [106, 119] |
p02946 | u276785896 | 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())\nL1 = list(range(X-K+1,X+K-1))\nL2 =' '.join(L1)\nprint(L2)", "K,X = map(int,input().split())\nL1 = list(range(X-K+1,X+K))\nL1_str = [str(n) for n in L1]\nL2 = ' '.join(L1_str)\nprint(L2)"] | ['Runtime Error', 'Accepted'] | ['s373717077', 's560962022'] | [2940.0, 2940.0] | [18.0, 18.0] | [87, 120] |
p02946 | u279718559 | 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())\nprint(" ".join(map(str, list(range(x - k + 1, x + k - 1)))))\n', '\nk, x = map(int, input().split())\nif k == 1:\n print(x)\n exit()\nprint(" ".join(map(str, list(range(x - k + 1, x + k - 1)))))\n', '\nk, x = map(int, input().split())\nif k == 1:\n print(x)\n exit()\npr... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s314637928', 's756985642', 's938089105'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [146, 181, 178] |
p02946 | u283751459 | 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]\nfor i in range(1,k):\n a.append(x+i)\n a.append(x-i)\n \nprint(sorted(a))\n \n', 'k,x = map(int,input().split())\na = [x]\nfor i in range(1,k):\n a.append(x+i)\n a.append(x-i)\n \nprint(" ".join(sorted(a)))\n \n', 'K, X = map(int,input().split())\nans = []\nif K == 1:\... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s314283408', 's594239446', 's073563589'] | [9148.0, 9152.0, 9100.0] | [29.0, 21.0, 24.0] | [115, 125, 140] |
p02946 | u288430479 | 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 = []\nfor i in range(X-K+1,X+K):\n l.append(str(i))\n##print(l)\nprint("".join(l))', 'K,X =map(int,input().split())\nl = []\nfor i in range(X-K+1,X+K):\n l.append(str(i))\n##print(l)\nprint(",".join(l))\n', 'K,X =map(int,input().split())\nl = []\nfor i in range(X-K+1,X+K):\n l.appe... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s603382002', 's747598422', 's991907188', 's907318748'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [111, 113, 113, 113] |
p02946 | u303745819 | 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 = X - (K - 1)\nb = X + (K - 1)\nc = []\nfor i in range(a,b+1):\n c.append(i)\nprint(c)\n', 'K,X = map(int,input().split())\n\na = X - (K - 1)\nb = X + (K - 1)\nc = []\nfor i in range(a,b+1):\n c.append(i)\nprint(*c)\n'] | ['Wrong Answer', 'Accepted'] | ['s265208923', 's209912248'] | [2940.0, 3060.0] | [17.0, 17.0] | [117, 118] |
p02946 | u305732215 | 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 = x - k + 1\nb = x + k - 1\n\nif a == b:\n print(a)\nelse:\n r = list(range(a, b))\n print(' '.join(map(str, r)))\n", "k, x = map(int, input().split())\n\na = x - k + 1\nb = x + k - 1\n\nr = list(range(a, b+1))\n\nif a == b:\n print(a)\nelse:\n print(' '.join(map(s... | ['Wrong Answer', 'Accepted'] | ['s966025216', 's143168734'] | [2940.0, 2940.0] | [17.0, 18.0] | [152, 151] |
p02946 | u309455049 | 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\naxis = list(range(-10, 11, 1))\ndf = pd.DataFrame(axis)\ndf = df.rename(columns = {0 : 'var'})\n\nres = []\n\nif k == 1:\n print(x)\nelse:\n for i in range(1, k):\n\n a = df[df['var'] == x + i]\n a = list(a['var'])\n res.append(a)\n \n a =... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s094660069', 's580779107', 's954360564', 's904676614'] | [3064.0, 83956.0, 2940.0, 3060.0] | [17.0, 99.0, 17.0, 17.0] | [491, 75, 218, 233] |
p02946 | u312807712 | 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())\nout = []\nfor i in range(X-K+1,K+X):\n out.append(str(i))\n print(" ".join(out))', 'K,X=map(int,input().split())\nout = []\nfor i in range(X-K+1,K+X):\n out.append(str(i))\nprint(" ".join(out))'] | ['Wrong Answer', 'Accepted'] | ['s796563474', 's574470918'] | [3060.0, 2940.0] | [17.0, 17.0] | [108, 106] |
p02946 | u325956328 | 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(x-k+1,x+k):\n ans.append(i)\nprint(ans)', 'k, x = map(int, input().split())\nans = []\nfor i in range(x-k+1,x+k):\n ans.append(i)\nprint(*ans)'] | ['Wrong Answer', 'Accepted'] | ['s752174682', 's569273109'] | [2940.0, 3060.0] | [17.0, 17.0] | [97, 98] |
p02946 | u329455846 | 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())\nif K == 1:\n print(X)\ncheckpoint = X\nresult = set()\nstart = checkpoint - K + 1\nfor i in range(K):\n for i in range(K):\n print(start + i)\n result.add(start + i)\n start = start + 1\nprint(result)', 'K,X = map(int,input().split())\nif K == 1:\n print(X)\nc... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s052192667', 's957225891', 's809200757'] | [3604.0, 3060.0, 3060.0] | [25.0, 19.0, 19.0] | [244, 219, 290] |
p02946 | u329565519 | 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\nlow = X - K\nhight = X + K\n\na = set()\nfor x in range(low + 1, hight, 1):\n a.add(x)\nprint(' '.join([str(x) for x in sorted(a)]b))\n", "K, X = map(int, input().split())\n\nlow = X - K\nhight = X + K\n\na = []\nfor x in range(low + 1, hight, 1):\n a.append(str(x))\nprint(' ... | ['Runtime Error', 'Accepted'] | ['s189608607', 's445788469'] | [2940.0, 2940.0] | [19.0, 17.0] | [165, 143] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.