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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02999 | u291303494 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x, a = map(int, input().split())\nif x < a:\n print(0)\nelse:\n print(10', 'x, a = map(int, input().split())\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s921337426', 's703163471'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 71] |
p02999 | u294385082 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n,x = map(int,input().split())\nl = list(map(int,input().split()))\nc = 1\nD = 0\nli = []\nfor i in range(1,n+1):\n D += l[i]\n if D <= x:\n c += 1\nprint(c)', 'x,a = map(int,input().split())\n\nif x<a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s675764452', 's697202227'] | [3060.0, 2940.0] | [17.0, 17.0] | [153, 68] |
p02999 | u295294832 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N,Y= [int(i) for i in input().split()]\n\nif N < X:\n\tprint(0)\nelse:\n\tprint(10)\n', 'N,Y= [int(i) for i in input().split()]\n\nif N < X:\n\tprint(0)\nelse:\n\tprint(10)\n', 'N,Y= [int(i) for i in input().split()]\n\nif N < Y:\n\tprint(0)\nelse:\n\tprint(10)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s239584398', 's915976359', 's835252876'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [77, 77, 77] |
p02999 | u297046168 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["X,A = int(input().split())\nif X < A:\n print('0')\nelse:\n print('10')\n", "X,A = (input().split())\nif X < A:\n print('0')\nelse:\n print('10')\n"] | ['Runtime Error', 'Accepted'] | ['s775316209', 's619524794'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 71] |
p02999 | u302957509 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['import std.stdio;\n\nvoid main() {\n int X, A;\n readf("%d %d", &X, &A);\n writeln(X < A ? 0 : 10);\n}', "import sys\n\n\ndef solve(X: int, A: int):\n print(0 if X < A else 10)\n\n\ndef main():\n def iterate_tokens():\n for line in sys.stdin:\n for word in line.split():\n yie... | ['Runtime Error', 'Accepted'] | ['s352023394', 's871726879'] | [2940.0, 2940.0] | [17.0, 17.0] | [99, 369] |
p02999 | u306033313 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["x,a = map(int,input().split)\n\nif x >= a:\n print('10')\nelse:\n print('0')", "x,a = map(int,input().split())\n\nif x >= a:\n print('10')\nelse:\n print('0')"] | ['Runtime Error', 'Accepted'] | ['s114929798', 's914502758'] | [3064.0, 2940.0] | [17.0, 17.0] | [73, 75] |
p02999 | u309120194 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['W, H, x, y = map(int, input().split())\n\nif x == W / 2 and y == H / 2:\n print((W * H) / 2, 1)\nelse:\n print((W * H) / 2, 0)', 'X, A = map(int, input().split())\n\nif X < A: print(0)\nelse: print(10)'] | ['Runtime Error', 'Accepted'] | ['s846782537', 's397907757'] | [9116.0, 9048.0] | [26.0, 26.0] | [123, 68] |
p02999 | u309834353 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['w, h, x, y = input().split()\nw, h, x, y = int(w), int(h), int(x), int(y)\nif (x==0) or (y==0) or (x==w/2) or (y==h/2) or (x==w) or (y==h):\n if (x==w/2) and (y==h/2):\n print(w*h/2, 1)\n else:\n print(w*h/2, 0)\nelse:\n if (x < w/2) and (y < h/2):\n p = (h-y)/(w-x)\n x_pos = (p*x... | ['Runtime Error', 'Accepted'] | ['s845406975', 's598560425'] | [3064.0, 2940.0] | [17.0, 17.0] | [675, 65] |
p02999 | u311379832 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)A', 'X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s147376556', 's761721346'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 75] |
p02999 | u316240682 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N, X = map(int, input().split())\nL = list(map(int, input().split()))\n\nbound = [0]\nfor i in range(N):\n bound += [L[i] + bound[-1]]\n #print(bound)\n\n#print(bound)\n\ncounter = 0\nfor i in bound:\n if i <= X:\n counter += 1\n else:\n break\nprint(counter)', 'X,A = map(int, input().split(... | ['Runtime Error', 'Accepted'] | ['s868224176', 's223473026'] | [3060.0, 2940.0] | [17.0, 17.0] | [269, 77] |
p02999 | u317710033 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["x,a = map(int,input().split())\nif a >= x:\n print('10')\nelse:\n print(0)", 'x,a = map(int,input().split())\nif x >= a:\n print(10)\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s396010641', 's325596051'] | [2940.0, 2940.0] | [17.0, 17.0] | [72, 70] |
p02999 | u320763652 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a = map(int, input().split())\n\nif x >= a:\n print(0)\nelse:\n print(10)\n', 'x,a = map(int, input().split())\n\nif x >= a:\n print(10)\nelse:\n print(0)\n'] | ['Wrong Answer', 'Accepted'] | ['s949619307', 's321878099'] | [2940.0, 2940.0] | [18.0, 18.0] | [77, 77] |
p02999 | u323045245 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x, a = map(int, input())\nif a<=x:\n print(10)\nelse:\n print(0)', 'x, a = map(int, input().split())\nif a<=x:\n print(10)\nelse:\n print(0)\n'] | ['Runtime Error', 'Accepted'] | ['s182437463', 's009500610'] | [3064.0, 2940.0] | [17.0, 17.0] | [62, 71] |
p02999 | u329058683 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N,X=map(int,input().split())\nL=list(map(int,input().split()))\nL.append(0)\nL.sort()\nfor i in range(N+1):\n if sum(L[:i+1]) > X:\n print(i)\n break\n elif sum(L) =<X:\n print(N)\n break', 'X,A=map(int,input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s027896341', 's226543442'] | [2940.0, 2940.0] | [17.0, 18.0] | [191, 67] |
p02999 | u331128419 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["N,K = map(int, input().split())\nA_list = [int(i) for i in input().split()]\n\n\nsum_tmp = 0\nAnswer = 0\n\nif N==1 : Answer = 0\n\nelse :\n for i in range(N):\n sum_tmp = A_list[i]\n for j in range(i+1,N):\n sum_tmp += A_list[j]\n #print(sum_tmp)\n if sum_tmp < K:\n ... | ['Runtime Error', 'Accepted'] | ['s543146727', 's770369524'] | [3060.0, 2940.0] | [17.0, 17.0] | [467, 84] |
p02999 | u344959959 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['a,b = int(input())\n#lis = list(map(int,input().split()))\nif a<b:\n print(0)\nelse:\n print(0)\n', 'a,b = int(input().split())\n#lis = list(map(int,input().split()))\nif a<b:\n print("0")\nelse:\n print("10")', 'a,b = int(input())\n#lis = list(map(int,input().split()))\nif a<b:\n print(0)\nelse:\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s138755789', 's217585944', 's835297549', 's981048993', 's844251148'] | [9144.0, 8984.0, 9092.0, 9096.0, 9104.0] | [25.0, 23.0, 21.0, 22.0, 27.0] | [97, 109, 97, 105, 117] |
p02999 | u350561505 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['a=input();\nb=input();\nif a<b:\n print(0);\nelse:\n print(10);', 'x,a=map(int,input().split())\nif x<a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s038155852', 's696386047'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 69] |
p02999 | u353919145 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x, a = map(int, input())\nif x < a:\n print(0)\nelse:\n print(1)', "from sys import stdin\nn=input().split(' ')\nif(int(n[0])>=int(n[1])):\n print('10')\nelse:\n print('0')"] | ['Runtime Error', 'Accepted'] | ['s063266880', 's053600623'] | [3316.0, 2940.0] | [20.0, 17.0] | [66, 105] |
p02999 | u355137116 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['a, x = int(input().split())\nprint("0" if x < a else "10") ', 'n, x = map(int, input().split())\nl = list(map(int, input().split()))\nd = 0\nans = 1\n\nfor i in range(n):\n d += l[i]\n if d < x:\n ans += 1\n else:\n break\n \nprint(ans)\n', 'n, x = map(int, input().split())\nl = list(map(int, input().spli... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s089752444', 's362728821', 's498314227', 's561215662', 's170351347'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [58, 174, 172, 161, 71] |
p02999 | u356499208 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a = int(input())\n\nif x > a:\n print(0)\nelse:\n print(10)', 'x,a = map(int, input().split())\n \nif x > a:\n print(0)\nelse:\n print(10)', 'x,a = map(int, input().split())\n \nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s136039673', 's509058288', 's215420187'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [58, 72, 72] |
p02999 | u358957649 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['def calcBoundCount(rangex, lstL):\n d = 0\n for i in range(0, len(lstL)):\n d = d + lstL[i]\n if rangex < d:\n return i + 1\n return len(lstL) + 1\n\nN, X = map(int, input().split())\nlstL = list(map(int, input().split()))\n\ncount = calcBoundCount(X, lstL)\nprint((count if count <= ... | ['Runtime Error', 'Accepted'] | ['s667392415', 's129487574'] | [3060.0, 2940.0] | [19.0, 17.0] | [320, 75] |
p02999 | u363315718 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['import sys\nsys.setrecursionlimit(10**7)\nINF = 10 ** 18\nMOD = 10 ** 9 + 7\ndef LI(): return [int(x) for x in sys.stdin.readline().split()]\ndef LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]\ndef LF(): return [float(x) for x in sys.stdin.readline().split()]\ndef LS(): return sys.stdin.readline().s... | ['Runtime Error', 'Accepted'] | ['s785708667', 's445001199'] | [3436.0, 3064.0] | [26.0, 17.0] | [478, 446] |
p02999 | u363599046 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['a, x = map(int,input().split())\n\nif a>x:\n print(0)\nelse:\n print(10)', 'x,a = map(int,input().split())\n\nif a>x:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s061303999', 's985811510'] | [2940.0, 2940.0] | [18.0, 18.0] | [69, 68] |
p02999 | u363768711 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = list(map(int, input().split()))\nif X < A:\n print(0)\nelif X => A:\n print(10)\n \n \n', 'x, a = map(int, input().split())\nprint(19 x>=a else 0)', 'x, a = map(int, input().split())\nprint(10 if x>=a else 0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s065190826', 's223068938', 's900321574'] | [2940.0, 2940.0, 3060.0] | [17.0, 18.0, 17.0] | [91, 54, 57] |
p02999 | u363836311 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X,A=map(int, input().split())\nif X<A:\n print(0)\n else:\n print(10)', 'X,A=map(int, input().split())\nif X<A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s861745614', 's640990982'] | [2940.0, 2940.0] | [17.0, 17.0] | [67, 66] |
p02999 | u363844307 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['a, b = map(int, input().split())\nk = 1\ns = 0\nfor i in map(int, input().split()):\n if s + i <= b:\n k += 1\n s += i\nprint(k)\n', 'a,b=map(int,input().split())\nk = 1\ns = 0\nfor i in map(int,input().split()):\n if s+i<=b:\n k+=1\n s+=i', 'x,y=map(int,input().split())\nif x<y:\n print(... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s125654266', 's796323923', 's262158501'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [135, 112, 69] |
p02999 | u364061715 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['i,j =map(int,input())\nif i>=10:\n print(10)\nelse:\n print(0)', 'X, Y = map(int, input().split())\nif X >= Y:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s004862592', 's793904615'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 72] |
p02999 | u365243017 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['b, c = map(int, input().split())\nif b<c:\n print("0")\nelse if:\n print("10")\n ', 'b, c = map(int, input().split())\nif b<c :\n print("0")\nelse if :\n print("10")\n \n', 'b, c = map(int, input().split())\nnum1 = 0\nnum2 = 10\nif b<c:\n print(str(num1))\nelse:\n print(str(num2))\n \n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s389064953', 's448931038', 's246139620'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [79, 82, 107] |
p02999 | u365364616 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['\n#include <algorithm>\n#include <cmath>\n\nusing namespace std;\n\nint main(){\n int x, a;\n cin >> x >> a;\n if (x < a) cout << 0 << endl;\n else cout << 10 << endl;\n}\n', 'x, a = map(int, input().split())\nif x < a:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s740099056', 's319988355'] | [2940.0, 2940.0] | [17.0, 17.0] | [208, 76] |
p02999 | u365928729 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['# coding: utf-8\n# Your code here!\nx,n=map(int,input().split())\nl=input().split(" ")\nc=0\nans=0\nfor i in range(x):\n t=int(l[i])\n if(c>n):\n break\n c+=t\n ans+=1\n \nprint(ans)\n ', '# coding: utf-8\n# Your code here!\nx,a=map(int,input().split())\nans=0\nif(x>=a):\n ans=10\nprint... | ['Runtime Error', 'Accepted'] | ['s352894741', 's203459783'] | [2940.0, 2940.0] | [17.0, 17.0] | [199, 100] |
p02999 | u366482170 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['w, h, x, y = map(int,input().split())\narea=w*h/2\nawee=0\nif x==w/2 or y==h/2:\n awee=0\n if x==w/2 and y==h/2:\n awee=1\nelse:\n awee=0\n\nprint(str(area)+" "+str(awee))', 'x, a = map(int,input().split())\nprint(0) if x<a else print(10)'] | ['Runtime Error', 'Accepted'] | ['s559727090', 's260404137'] | [3060.0, 2940.0] | [17.0, 20.0] | [177, 62] |
p02999 | u366577572 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N,X = map(int,input().split())\nL = list(map(int,input().split()))\t\n\nD=0\nc=1\n\nfor i in range(N):\n D=D+L[i]\n if D<=X:\n c=c+1\n else: break\n\nprint(c)', 'x,y=map(int,input().split())\nif x >= y:\n print(10)\nelse: print(0)'] | ['Runtime Error', 'Accepted'] | ['s286109247', 's831197437'] | [2940.0, 2940.0] | [17.0, 17.0] | [161, 66] |
p02999 | u368796742 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n,x = map(int,input().split())\nl = list(map(int,input().split()))\ncount = 1\nx1 = 0\nfor i in range(n):\n if x1 + l[i] <= x:\n count += 1\n x1 += l[i]\n else:\n print(count)\n exit()\nprint(count) \n', 'X,A = map(int,input().split())\nprint(0 if X < A else 10)'] | ['Runtime Error', 'Accepted'] | ['s160841912', 's115002140'] | [3060.0, 9104.0] | [18.0, 22.0] | [204, 56] |
p02999 | u369081942 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['if input() < input():\n print(0)\nelse :\n print(1)', 'x,a = map(int(input.split()))\nif x<a:\n print(0)\nelse :\n print(10)', 'a,b = map(int,input().split())\nif a < b:\n print(0)\nelse :\n print(10)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s437531525', 's559560613', 's641919650'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [50, 67, 70] |
p02999 | u369320902 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['import sys\n\nw, h, x, y = input().split()\nw = float(w)\nh = float(h)\nx = float(x)\ny = float(y)\ns=0\n\nfor i in range(100000000):\n a=i/1000\n if a<=h/w:\n cand=w*(a*w-2*a*x+2*y)/2\n s_cand=min(cand,w*h-cand)\n if s_cand>s:\n s=s_cand\n else:\n cand=h*(h+2*a*x-2*y)/(2*a)\n s_cand=min(cand,w... | ['Runtime Error', 'Accepted'] | ['s959336536', 's134386737'] | [3064.0, 3316.0] | [17.0, 23.0] | [406, 84] |
p02999 | u376099073 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X,A = int(input())\nif X >= A:\n print(\'10\')\nelse:\n print("0")', 'X,A = map(int,input().split())\nif X >= A:\n print(\'10\')\nelse:\n print("0")'] | ['Runtime Error', 'Accepted'] | ['s588290473', 's327869767'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 74] |
p02999 | u379689547 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['A = map(int, input().split(" "))\nprint([10, 0][A[0] < A[1]])', 'A = list(map(int, input().split(" ")))\nprint([10, 0][A[0] < A[1]])\n'] | ['Runtime Error', 'Accepted'] | ['s081568719', 's700154673'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 67] |
p02999 | u384122990 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n = input()\nprint(n)', 'n = input()\nm = n.split()\n\nif m[0] < m[1]:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s770061631', 's519983586'] | [2940.0, 2940.0] | [17.0, 17.0] | [20, 71] |
p02999 | u389679466 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['import sys\n\ndef input():\n return sys.stdin.readline()[:-1]\n\nN, K = map(int, input().split())\na = list(map(int, input().split()))\n\nfrom itertools import accumulate\ncount = 0\nacum = list(accumulate(a))\n\nfor i in range(N-1, -1, -1):\n if acum[i] >= K:\n count += 1\n else:\n break\n\nfo... | ['Runtime Error', 'Accepted'] | ['s485899964', 's383905942'] | [3064.0, 3316.0] | [17.0, 21.0] | [465, 79] |
p02999 | u390170391 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["l = list(map(input().split()))\nx = l[0]\na = l[1]\nif x < a:\n print('0')\nelse:\n print('10')", "l = list(map(int, input().split()))\nx = l[0]\na = l[1]\nif x < a:\n print('0')\nelse:\n print('10')\n"] | ['Runtime Error', 'Accepted'] | ['s323235782', 's515208548'] | [2940.0, 2940.0] | [17.0, 20.0] | [91, 97] |
p02999 | u402467563 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N,X=map(int,input().split())\nL=list(map(int,input().split()))\ncount=1\ntmp=0\nfor i in range(N):\n tmp+=L[i]\n if tmp<=X:\n count+=1\nprint(count)', 'X, A = map(int,input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s546496826', 's276444949'] | [3060.0, 2940.0] | [17.0, 17.0] | [145, 70] |
p02999 | u403660920 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["List = list(map(int,inport().split()))\nif List[0] >= List[1]:\n print('10')\nelse:\n print('0')", 'List = list(map(int,inport().split()))\nif List[0] >= List[1]:\n print(10)\nelse:\n print(0)', 'List = list(map(int,input().split()))\nif List[0] >= List[1]:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s258563514', 's297202068', 's596709476'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [94, 90, 89] |
p02999 | u404678206 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n,x=map(int,input().split())\nL=list(map(int,input().split()))\n#print(L)\nD=0\nB=[0]\nC=[]\nfor i in range(len(L)):\n D=D+L[i]\n B.append(D)\n\nfor i in range(len(L)):\n if B[i]<=x:\n C.append(i)\n else:\n pass\n#print(C)\nprint(min(n+1,len(C)))\n', 'X,A = list(map(int, input().split()))\nif X<A:\n print(... | ['Runtime Error', 'Accepted'] | ['s958192183', 's908443660'] | [3060.0, 2940.0] | [17.0, 17.0] | [250, 74] |
p02999 | u405832869 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["X,A = map(int,input().split())\nif X < A:\n print(X)\nelse:\n print('10')", "X,A = map(int,input().split())\nif X < A:\n print('0')\nelse:\n print('10')"] | ['Wrong Answer', 'Accepted'] | ['s931508838', 's839769282'] | [3316.0, 2940.0] | [21.0, 17.0] | [71, 73] |
p02999 | u408760403 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X,A=map(int,input().split())\nif X<A:\n print(10)\nelse:\n print(0)', 'X,A=map(int,input().split())\nif X<A:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s968425278', 's848382922'] | [2940.0, 2940.0] | [17.0, 17.0] | [65, 65] |
p02999 | u409064224 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a = map(int,input().split())\nprint(0) if x<a else: print(10)', 'x,a = map(int,input().split())\nprint(0) if x<a else print(10)'] | ['Runtime Error', 'Accepted'] | ['s927379245', 's826269863'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 61] |
p02999 | u409254176 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['count=0\na=0\nn,x = map(int,input().split())\nli = list(map(int,input().split()))\nfor i in range(n):\n if (a<=x):\n a=a+li[i]\n count+=1\nprint(count)', 'x,y = map(int,input().split())\nif x<y:\n\tprint(0)\nelse:\n\tprint(10)'] | ['Runtime Error', 'Accepted'] | ['s319186740', 's622359325'] | [2940.0, 9160.0] | [17.0, 28.0] | [160, 65] |
p02999 | u413165887 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['3 5', "x, a = list(map(int, input().split(' ')))\n\nif x < a:\n print(0)\nelse:\n print(10)"] | ['Runtime Error', 'Accepted'] | ['s861094360', 's601109539'] | [2940.0, 3060.0] | [17.0, 19.0] | [3, 85] |
p02999 | u416906709 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['3 5\n \nif X < A:\n print(0)\nelse:\n print(10)', 'X = 3\nA = 5\n\nX = 7\nA = 5\n\nX = 6\nA = 6\n\nif X < A:\n print(0)\nelse:\n print(10)', "if X < A:\n print('0')\nelse:\n print('10')", '# -*- coding: utf-8 -*-\n \nX = input()\nA = input()\n \nif X < A:\n print(0)\nelse:\n print(10)', 'if X < A:\n print(0)... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s009142369', 's056885043', 's103855778', 's128517949', 's232189303', 's351834323', 's352055951', 's356500039', 's388841275', 's410138304', 's440043052', 's455398986', 's560052370', 's881324699', 's441947917'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 19.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0] | [42, 75, 46, 88, 42, 54, 71, 74, 48, 69, 70, 61, 44, 71, 71] |
p02999 | u419963262 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['w,h,x,y=map(int,input().split())\nans=0\nif (2*x==w)&(2*y==h):\n ans=1\nprint((w*h)/2,ans)\n', 'w,h,x,y=map(int,input().split())\nprint((w*h)/2,(2*x==w)&(2*y==h))\n', 'X,A=map(int,input().split())\nprint(0) if X<A else print(10)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s058345663', 's491981983', 's730917954'] | [9020.0, 9104.0, 2940.0] | [25.0, 27.0, 17.0] | [88, 66, 59] |
p02999 | u425834921 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X = int(input())\nA = int(input())\n\nif A > X:\n\tprint(0)\nelse:\n\tprint(10)', 'X = int(input().strip())\nA = int(input().strip())\n\nif A > X:\n\tprint(0)\nelse:\n\tprint(10)', 'X, A = input().strip().split()\nX, A = [int(X), int(A)]\nif A > X:\n\tprint(0)\nelse:\n\tprint(10)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s118610857', 's199976645', 's842278950'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [71, 87, 91] |
p02999 | u427344224 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['W, H, x, y = map(int, input().split())\n \nprint((H * W) / 2, end=" ")\n \nif W / 2 == x and H /2 == y:\n print(1)\nelse:\n print(0)', 'X,A = map(int, input().split())\n\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s178766998', 's435656199'] | [2940.0, 3316.0] | [17.0, 20.0] | [131, 75] |
p02999 | u428397309 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['# -*- coding: utf-8 -*-\n\nx, a = int(input()), int(input())\n\nif x < a:\n print("0")\nelse:\n print("10")\n', '# -*- coding: utf-8 -*-\n\nx, a = map(int, input().split())\n\nif x < a:\n print("0")\nelse:\n print("10")\n'] | ['Runtime Error', 'Accepted'] | ['s027313793', 's087739836'] | [2940.0, 2940.0] | [17.0, 18.0] | [107, 106] |
p02999 | u429003912 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = map(int. input().split())\n\nif X < A :\n print(0)\nelse :\n print(10)\n', 'X, A = map(int. input().split())\n\nif X < A :\n print 0\nelse :\n print 10', 'X, A = map(int, input().split())\n\nif X < A :\n print(0)\nelse :\n print(10)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s660378865', 's747160813', 's506397291'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [75, 72, 75] |
p02999 | u430414424 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = map(int, input().spilt())\n\nif X < A:\n print(0)\nelse:\n print(10)', 'X, A = map(int, input().split())\n\nif X < A:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s149016499', 's569303990'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 77] |
p02999 | u433836112 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x, a = map(int, input().sprit().split())\nif x < a:\n print(10)\nelse:\n print(0)', 'x, a = map(int, input().rstrip().split())\nif x < a:\n print(10)\nelse:\n print(0)', 'n ,x = map(int, input().rstrip().split())\nl = map(int, input().rstrip().split())\nd=0\ncount = 1\nfor i in range(n):\n d += l[i]\n if d ... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s153306239', 's827723942', 's927961790', 's890518106'] | [2940.0, 2940.0, 2940.0, 3060.0] | [17.0, 17.0, 18.0, 17.0] | [79, 80, 189, 80] |
p02999 | u440630725 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a=map(int,input().split())\nif\tx < a\n\tl = 0\nif x >= a\n\tl = 10\nprint (l) ', 'n,x=map(int,input().split())\nli=list(int,map(input().split()))\nd=0\nc=1\nfor l in li:\n \td=d+l\n\tif d>x:\n\t\tbreak\n\t\n\tc=c+1\nprint(c)', 'x, a=map(int, input().split())\nif\tx < a\n\tl = 0\nelse\n\tl = 10\nprint(l)', 'x,a=... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s359571006', 's380496337', 's503665159', 's640086865', 's658567400', 's685116213', 's712119429', 's806686930', 's847870756', 's620745437'] | [3064.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 19.0, 18.0, 17.0, 17.0, 17.0] | [75, 127, 68, 66, 77, 111, 124, 72, 120, 70] |
p02999 | u442877951 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x >= 0\nx <= 9\na >= 0\na <= 9\n\nif x < a \n print(0)\nelse\n print(10)', 'x = int\na = int\n\n\n \nif x < a:\n print(0)\nelse:\n print(10)', 'x = int(input())\na = int(input())\nif x < a:\n print("0")\nelse:\n print("10")', 'x = input()\na = input()\ny = int(x)\nb = int(a)\n \n \n \n \nif y < b:\n print(0)\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s000785887', 's184416182', 's359271126', 's592836131', 's705157187', 's905751498', 's976739558'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [66, 58, 76, 92, 75, 59, 76] |
p02999 | u463602788 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['y = [int(z) for z in input().split()]\nl = [int(z) for z in input().split()]\nd = [0]*(y[0]+1)\nc = 0\nfor i in range(1,y[0]+1):\n d[i] = d[i-1]+l[i-1]\n if (d[i]<=y[1]):\n c+=1\nprint(c)\n', 'x,y = [int(x) for x in input().split()]\n\nif (x<y):\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s885687936', 's625680774'] | [9192.0, 2940.0] | [24.0, 17.0] | [201, 79] |
p02999 | u465241080 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["import sys\n\nif __name__ == '__main__':\n \n x, a = sys.argv[1].split(' ')\n if (x < a):\n printf('0')\n else:\n printf('10')", "import sys \n \nif __name__ == '__main__': \n x = sys.argv[1]\n a = sys.argv[2]\n if (x < a): \n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s582273406', 's849805245', 's851368349', 's629635838'] | [3064.0, 3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 20.0] | [128, 217, 141, 248] |
p02999 | u468972478 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['a, b = map(int, input().split())\nprint(10 if a < b else 0)', 'x, a = map(int, input().split())\nprint(0 if x < a else 10)'] | ['Wrong Answer', 'Accepted'] | ['s753999430', 's698587723'] | [9088.0, 9148.0] | [29.0, 29.0] | [58, 58] |
p02999 | u471181540 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a = [int(e) for e in input().split()]\nif x < a:\n return 0\nelse:\n return 10', 'x,a = [int(e) for e in input().split()]\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s981361087', 's959201016'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 79] |
p02999 | u475972508 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x1 = list(map(int,input().rstrip().split(" ")))\nx2 = list(map(int,input().rstrip().split(" ")))\n\ndef makey(x1,x2):\n total = 0\n for i in range(x1[0]):\n total += x2[i]\n if total > x1[1]:\n return i\n return x1[0]\n\ny = makey(x1,x2)\nprint(y+1)\n', 'x1 = list(map(int,input().rstrip().split(" ")))... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s716439198', 's963242911', 's477424898'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [254, 249, 103] |
p02999 | u482157295 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n,a = map(int,input().split())\nif a >= n:\n print("10")\nelse:\n print("0")', 'n,a = map(int,input().split())\nif n < a:\n print("0")\nelse:\n print("10")\n\n'] | ['Wrong Answer', 'Accepted'] | ['s775250228', 's675207954'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 75] |
p02999 | u483640741 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['W,H,x,y=map(int,input().split())\n\n#case1\na=x*H\nb=(W-x)*H\n\nif a>=b:\n case1=b\nelse:\n case1=a\n\n#case2\nc=W*y\nd=W*(H-y)\n\nif c>=d:\n case2=d\nelse:\n case2=c\n\nif case1==case2:\n z=1\n\nelse:\n z=0\n\nprint("{0:.6f}".format(max(case1,case2)),z)\n', 'W,H,x,y=map(str,input().split())\n\n#cas... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s036010744', 's208787578', 's639567470'] | [3064.0, 3064.0, 2940.0] | [18.0, 18.0, 17.0] | [247, 247, 80] |
p02999 | u487044104 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["N,X = list(map(int,input().split(' ')))\nL = list(map(int,input().split(' ')))[:N]\n\np = 0\ncount = 1\n\nfor i in range(1,N):\n p += L[i]\n if p <= X:\n count += 1\nprint(count)\n", "x,a = list(map(int,input().split(' ')))\nif x < a:\n print(0)\nelse:\n print(10)"] | ['Runtime Error', 'Accepted'] | ['s482901887', 's942143598'] | [2940.0, 2940.0] | [17.0, 19.0] | [182, 78] |
p02999 | u487288850 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a = map(int,input().split())\nif x>a:\n print(0)\nelse:\n print(10)', 'x,a = map(int,input().split())\nif x<a:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s812109920', 's511617671'] | [9024.0, 9152.0] | [30.0, 28.0] | [71, 71] |
p02999 | u488178971 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['#ABC 130 B\nN,X=map(int,input().split())\nL= [int(j) for j in input().split()]\ncnt=0\nd = 0\n\nfor l in L :\n d+=l\n if d <= X:\n cnt+=1\n else:\n break\nprint(cnt+1)', '# ABC 130\nX ,A =map(int,input().split(" "))\nif X < A:\n print(0)\nelif A<=X:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s324020300', 's347866646'] | [3060.0, 2940.0] | [17.0, 17.0] | [178, 91] |
p02999 | u492994678 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['A,X =map(int,input().split())\nif X < A:\n print(0)\nelse:\n print(10)', 'A,X =map(int,input().split())\nif X < A :\n print(0)\nelif:\n print(10)', 'A,X =map(int,input().split())\nif X < A :\n print(0)\nelse:\n print(10)', 'X,A =map(int,input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s134525331', 's136933770', 's550473419', 's319417296'] | [2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 20.0, 17.0] | [68, 69, 69, 68] |
p02999 | u493266819 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X,A = map(int,input().split())\nif X < A :\n print(0)\nelif X >= A\n print(10)', 'X,A = map(int,input().split())\nif X < A :\n print(0)\nelif X >= A:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s468012444', 's084467336'] | [2940.0, 2940.0] | [17.0, 17.0] | [80, 81] |
p02999 | u493627944 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10', 'X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s133254659', 's184557268'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 75] |
p02999 | u504988979 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a = input().split()\nif (x>=a):\n answer = 10\nelse:\n answer = a\nprint(answer)', 'x,a = input().split()\nif (x>=a):\n answer = 10\nelse:\n answer = 0\nprint(answer)\n'] | ['Wrong Answer', 'Accepted'] | ['s934372337', 's686830691'] | [2940.0, 2940.0] | [17.0, 18.0] | [83, 84] |
p02999 | u505893372 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X,A = map(int,input().split())\n\nif X > A :\n\tprint(0)\nelse :\n\tprint(10)', 'X,A = map(int,input().split())\n\nif X < A :\n\tprint(0)\nelse :\n\tprint(10)'] | ['Wrong Answer', 'Accepted'] | ['s691568833', 's972329127'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 70] |
p02999 | u512293334 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N, K = map(int, input().split())\na = L = list(map(int, input().split()))\ncount = 0\nif sum(a) >= K:\n count +=1\nfor n in range(1,N):\n for i in range(N):\n if sum(a[i:i+n]) >= K:\n count += 1\nprint(count)', 'X, A = map(int, input().split())\nif X >= A:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s828166066', 's544903787'] | [3060.0, 2940.0] | [17.0, 17.0] | [223, 76] |
p02999 | u515172797 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n,k = map(int,input().split())\na = list(input().split())\n\ns = [0] * n\ncount = 0\nfor i in range(n):\n for j in range(i,n):\n if j == i:\n a[i] = int(a[i])\n s[0] = a[j]\n else:\n a[j] = int(a[j])\n s[j-i] = a[j] + s[j-i-1]\n\n if s[j-i] >= k:\n ... | ['Runtime Error', 'Accepted'] | ['s030558814', 's526288762'] | [3064.0, 2940.0] | [17.0, 17.0] | [406, 72] |
p02999 | u516579758 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a=map(int,input().split())\nif x>a:\n print(0)\nelse:\n print(10)', 'x,a=map(int,input().split())\nif x<a:\n print(0)\nelif:\n print(10)', 'x,a=map(int,input().split())\nif x<a:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s147050941', 's502523274', 's344524146'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [69, 69, 69] |
p02999 | u521323621 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n, x = map(int, input().split())\nl = list(map(int, input().split()))\n\nd=[0]\nfor i in range(1, n+1):\n d.append(d[-1]+l[i-1])\n \nprint(len([i for i in d if i <= x]))', 'x, a = map(int, input().split())\n\nif x >= a:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s612561654', 's531995688'] | [3060.0, 2940.0] | [19.0, 17.0] | [164, 73] |
p02999 | u521602455 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = (int, input().split())\nprint(10 if X>=A else 0)', 'X, A = map(int, input().split())\nprint(10 if X>=A else 0)'] | ['Runtime Error', 'Accepted'] | ['s659594275', 's921801982'] | [2940.0, 3064.0] | [17.0, 17.0] | [54, 57] |
p02999 | u523153297 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['import sys\n\nargv=sys.argv\n\n#print(argv)\n\nx=int(argv[1])\na=int(argv[2])\n\nif(x<a):\n print(0)\nelse:\n print(10)\n', 'import sys\n\n#argv=sys.argv\n\n#print(argv)\n\nargv=input()\nargv1,argv2=argv.split(" ")\n\n\nx=int(argv1)\na=int(argv2)\n\nif(x<a):\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s530233306', 's317979296'] | [2940.0, 3064.0] | [17.0, 17.0] | [114, 154] |
p02999 | u527993431 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N,X=map(int,input().split())\nL=list(map(int,input().split()))\ntmp=0\nans=1\nfor i in range(N):\n\ttmp+=L[i]\n\tif tmp>X:\n\t\tprint(ans)\n\t\texit()\n\telse:\n\t\tans+=1\nprint(ans)', 'X,A = map(int,input().split())\n\nif X<A :\n\tprint(0)\nelse:\n\tprint(10)'] | ['Runtime Error', 'Accepted'] | ['s167895215', 's736741400'] | [3060.0, 2940.0] | [17.0, 17.0] | [163, 67] |
p02999 | u531220228 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['N,X = map(int, input().split())\nL_i = list(map(int, input().split()))\n\nD=[0, 0]\ncount=1\nfor n in range(N+1):\n D[1] = D[0] + L_i[n]\n if D[1] <= X:\n count += 1\n D[0] = D[1]\n else:\n break\n\nprint(count)', 'X, A = map(int, input().split())\n\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s874431342', 's553262516'] | [3060.0, 2940.0] | [17.0, 17.0] | [210, 76] |
p02999 | u531258707 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['W,H,x,y = list(map(int,input().split(" ")))\nprint(W,H,x,y)\n\nif x ==0 or x == W:\n tatemax = 0\n yokomax = W*H/2.0\nif y== 0 or y == H:\n tatemax = W*H/2.0\n yokomax = 0\nif x !=0 and x != W and y!= 0 and y != H: \n if float(y) > float(H)/2.0:\n yokomax = float(W) * float((H-y))\n eli... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s108622956', 's274617982', 's819726181', 's575256323'] | [3064.0, 3064.0, 3064.0, 3316.0] | [19.0, 18.0, 18.0, 20.0] | [824, 902, 1170, 86] |
p02999 | u533017901 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x, a = map(int,rfile.readline().split())\nif x<a:\n print(0)\n else:\n print(10)', 'x, a = map(int,input().split())\nif x<a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s564371739', 's808711831'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 72] |
p02999 | u547764399 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['import sys\n\nX, A = list(map(int, input().split()))\n\nif X and A >= 0:\n if X < A:\n print("0")\n elif X >= A:\n print("10")\nif X and A <= 9:\n if X < A:\n print("0")\n elif X >= A:\n print("10")\nelse:\n sys.exit()', 'import sys\n\nX, A = list(map(int, input().split()))\... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s060515583', 's100527309', 's786149823', 's961642109'] | [3060.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [246, 161, 153, 187] |
p02999 | u553070631 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n,x=map(int,input().split())\nl=list(map(int,input().split()))\nd=0\na=1\nfor i in range(n-1):\n a+=1\n d+=l[i]\n #print(d)\n if d>x:\n break\n\n\nprint(a)', "x,a=map(int,input().split())\nif x>=a:\n print('10')\nelse:\n print('0')\n"] | ['Runtime Error', 'Accepted'] | ['s277318448', 's660267779'] | [2940.0, 2940.0] | [17.0, 17.0] | [162, 75] |
p02999 | u553824105 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = matp(int,input().split())\n\nif X < A:\n\tprint(0)\nelse:\n\tprint(10)', 's=input();print(10*(s>=s[2]))'] | ['Runtime Error', 'Accepted'] | ['s425157980', 's015106690'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 29] |
p02999 | u555356625 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["x,a = map(int,input())\n\nprint('0') if x<a else print('10')", "x,a = map(int,input().split())\n\nprint('0') if x<a else print('10')\n"] | ['Runtime Error', 'Accepted'] | ['s617746778', 's807150078'] | [9128.0, 9108.0] | [31.0, 30.0] | [58, 67] |
p02999 | u556594202 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['a,x=map(int,input().split())\nprint(10 if A>=X else 10)', 'A,X=map(int,input().split())\nprint(10 if A>=X else 10)\n', 'A,X=map(int,input().split())\nprint(10 if A>=X else 0)\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s085465469', 's761614705', 's619669354'] | [9068.0, 9056.0, 9016.0] | [22.0, 29.0, 29.0] | [54, 55, 54] |
p02999 | u558059388 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X,A=(inx(x) for x in input().split())\nif X>=A:\n print(10)\nelse:\n print(0)', 'X,A=(int(x) for x in input().split())\nif X>=A:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s721408181', 's033286209'] | [2940.0, 2940.0] | [18.0, 17.0] | [75, 75] |
p02999 | u558494840 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['W, H, x, y = map(int, input().split())\n\none = W * (H-y)\ntwo = x * H\nthree = 0\nsame = 0\nif x==0 and y==0:\n three = (W*H)/2\nif x==W and y==H:\n three = (W*H)/2\nif x==0 and y==H:\n three = (W*H)/2\nif x==W and y==0:\n three = (W*H)/2\n\nif W == H:\n if x==y:\n three = (W*H)/2\n elif x==(W+1)-y:\n t... | ['Runtime Error', 'Accepted'] | ['s877429841', 's456219454'] | [3064.0, 2940.0] | [17.0, 17.0] | [391, 71] |
p02999 | u559346857 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['x,a=int(input().split())\nprint("10" if a<=x else "0")', 'x,a=map(int,input().split())\nprint("10" if x<a else "0")', 'x,a=map(int,input().split())\nprint("10" if a<=x else "0")'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s779614759', 's886142649', 's031584514'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [54, 56, 58] |
p02999 | u562550538 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X, A = map(int, input())\nif X >= A:\n print(10)\nelse:\n print(0)', 'X, A =map(int, input().split())\nif X >= A:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s706299540', 's882028256'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 75] |
p02999 | u565924121 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['X,A=int(input())\n\nif X<A:\n print(0)\nelse:\n print(10)', 'X,A=map(int,input().split())\nif X<A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s409670395', 's284582654'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 65] |
p02999 | u566719697 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['n,k = map(int,input().split())\naList = input().split()\naList = [int(i) for i in aList]\ncn=0\n\nfor i in range(len(aList)):\n for j in range(len(aList[i:])):\n jj = len(aList)-j\n if(i==jj):\n break\n if(sum(aList[i:jj]) >= k):\n cn+=1\n else:\n break;\nprint(cn)', 'x,a = input().split(... | ['Runtime Error', 'Accepted'] | ['s422036879', 's562095921'] | [3060.0, 2940.0] | [17.0, 18.0] | [280, 81] |
p02999 | u569079213 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["inp=input().split(' ')\nL=input().split(' ')\nn=int(inp[0])\nl=0;\ncount=1;\nfor i in range(n):\n l+=int(L[i])\n if l<=int(inp[1]):\n count+=1\n else:\n print(count)\nif count==n+1:\n print(n+1)\n", "inp=input().split(' ')\nL=input().split(' ')\nn=int(inp[0])\nl=0;\ncount=1;\nfor i in range(n):\n l+=int(L[... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s263378251', 's691768248', 's064444384'] | [3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [193, 194, 87] |
p02999 | u572940434 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['#-*- coding: utf-8 -*-\nN,X = map(int,input().split())\nli = list(map(int,input().split()))\nd = 0\ncount = 1\nfor i in range(len(li)):\n d += li[i]\n if d <= x:\n count += 1\n else:\n break\nprint(count)', '#-*- coding: utf-8 -*-\nX,A = map (int,input().split())\nif X < A:\n print("0")\nelse:\n print(... | ['Runtime Error', 'Accepted'] | ['s487340196', 's234695149'] | [3060.0, 2940.0] | [18.0, 17.0] | [202, 101] |
p02999 | u580093517 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['c=list(map(int, input().split()))\n\nW = c[0]\nH = c[1]\nx = c[2]\ny = c[3]\n\n\n\nif W*y <= float(W*H)/2:\n S1 = W*y\nelse:\n S1 = W*H - W*y\n\nif H*x <= float(W*H)/2:\n S2 = H*x\nelse:\n S2 = W*H - H*x\n\nif S1 < S2:\n Sm = S2\n co = 0\nelif S1 > S2:\n Sm = S1\n co = 0\nelse:\n Sm = S1\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s376821558', 's592340475', 's722008882', 's741633160', 's956525692', 's385757220'] | [3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [318, 366, 315, 322, 384, 75] |
p02999 | u580236524 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["x, a = [int(i) for i in input().split(' ')]\n\nif X<A:\n print(0)\nelse:\n print(10)", "x,a = [int(i) for i in input().split(' ')]\n\nif x<a:\n print(0)\nelse:\n print(10)"] | ['Runtime Error', 'Accepted'] | ['s931163770', 's152259924'] | [3316.0, 2940.0] | [21.0, 18.0] | [81, 80] |
p02999 | u581603131 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ["W, H, x, y = map(int, input().split())\nprint(W*H/2, end=' ')\nprint(1 if W*y==x*H else 0)", 'X, A = map(int, input().split())\nprint(0 if X<A else 10)'] | ['Runtime Error', 'Accepted'] | ['s567713924', 's798781606'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 56] |
p02999 | u586212264 | 2,000 | 1,048,576 | X and A are integers between 0 and 9 (inclusive). If X is less than A, print 0; if X is not less than A, print 10. | ['import sys\n\nX,A=int((x) for x in input().split())\n\nif X>=A:\n print(10)\nelse:\n print(0)\n ', 'import sys\n\na,b=int((x) for x in input().split())\n\nif a>=b:\n print(10)\nelse:\n print(0)\n \n', 'import sys\n\na,b=(int(x) for x in input().split())\n\nif a>=b:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s450797792', 's461611628', 's670082439'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [91, 92, 88] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.