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 | u593934357 | 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)'] | ['Wrong Answer', 'Accepted'] | ['s455058114', 's951918822'] | [3060.0, 2940.0] | [19.0, 17.0] | [64, 64] |
p02999 | u594781607 | 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 numpy as np\na,b = map(int,x.split())\nif(a<b):\n print(0)\nelse:\n print(10)', 'import numpy as np\na,b = map(int,x.split())\nif(a<b):\n print(0)\nelse:\n print(10)', 'a,b = map(int,x.split())\nif(a<b):\n print(0)\nelse:\n print(10)', 'import numpy as np\nx = input()\na,b = map(int,x.split())\nif(a<b):\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s147933693', 's595163155', 's652253492', 's863030703'] | [12388.0, 21032.0, 2940.0, 21420.0] | [148.0, 300.0, 17.0, 306.0] | [81, 81, 62, 93] |
p02999 | u595375942 | 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(10 if X<A else 0)', 'X,A=map(int,input().split())\nprint(0 if X<A else 10)'] | ['Wrong Answer', 'Accepted'] | ['s585347941', 's619758140'] | [2940.0, 2940.0] | [17.0, 17.0] | [52, 52] |
p02999 | u598229387 | 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(10)', 'x, a = map(int, input().split())\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s690950100', 's251097540'] | [2940.0, 2940.0] | [17.0, 17.0] | [67, 75] |
p02999 | u598860476 | 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(map(int,input().split()))\n\ntotal = 0\nans = 0\nr = 0\n\nfor l in range(N):\n while total < K:\n\n if r >= N:\n break\n\n else:\n total += a[r]\n r += 1\n\n if total < K:\n break\n\n ans += N-r+1\n total -= a[... | ['Runtime Error', 'Accepted'] | ['s093308076', 's340487995'] | [3064.0, 3060.0] | [17.0, 19.0] | [311, 75] |
p02999 | u600319862 | 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())\nbig_square = W * H\nsquare_1 = x * H\nsquare_12 = big_square - square_1\nif square_1 <= square_12:\n s = square_1\nelif square_1> square_12:\n s = square_12\n\nsquare_2 = W * y\nsquare_22 = big_square - square_2\nif square_2 <= square_22:\n t = square_2\nelif square_2> square_22:... | ['Runtime Error', 'Accepted'] | ['s969625907', 's519988479'] | [3064.0, 3316.0] | [17.0, 21.0] | [435, 76] |
p02999 | u603324902 | 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. | ["num = input()\nif num[0] < num[2]:\nprint('0')\nelse:\nprint('10')", "num = input()\nprint('0' if num[0] < num[2] else '10')"] | ['Runtime Error', 'Accepted'] | ['s142221302', 's451099646'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 53] |
p02999 | u606090886 | 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. | ['h,w,x,y = map(int,input().split())\nans1 = (h*w)/2\nif h == 2*x and w == 2*y:\n ans2 = 1\nelse:\n ans2 = 0\nprint(ans1,ans2)', 'x,a = map(int,input().split())\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s563082415', 's928544249'] | [3060.0, 2940.0] | [17.0, 17.0] | [124, 81] |
p02999 | u607729897 | 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. | ['XA = map(int, input().split())\nif XA[0]<XA[1]:\n print(0)\nelse:\n ptint(10)', 'XA = list(map(int, input().split()))\nif XA[0]<XA[1]:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s931027462', 's877818355'] | [2940.0, 2940.0] | [17.0, 17.0] | [75, 82] |
p02999 | u611239490 | 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(0)\nelse:\n print(10)', 'X,A=map(int,input().split())\nif X<A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s308499861', 's269450004'] | [9004.0, 9064.0] | [31.0, 28.0] | [53, 65] |
p02999 | u611386050 | 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\nimport sys\n\nN,X = map(int,input().split())\nL = list(map(int,input().split()))\n\nD = 0 \n\nfor i in range(N):\n D += L[i]\n if D > X:\n print(i+1)\n sys.exit()\n\nprint(N+1)\n', '#coding:utf-8\nX,A = map(int,input().split())\n\nif X < A:\n print(0)\n\nelse:\n print(10)\n'... | ['Runtime Error', 'Accepted'] | ['s960413581', 's926627077'] | [3064.0, 2940.0] | [17.0, 17.0] | [224, 90] |
p02999 | u617228707 | 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())\nList=list(map(int,input().split()))\nc = 0\nfor i in range(N):\n A = List[i]\n for k in range(l,N-i):\n if A >= K:\n c += N-i-k\n l = k\n break\n if k != N-i-1:\n A=A +List[k+i+1]\nprint(c)', 'X,A = map(int,input().split())... | ['Runtime Error', 'Accepted'] | ['s047047448', 's344428671'] | [2940.0, 2940.0] | [17.0, 17.0] | [272, 73] |
p02999 | u619819312 | 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 numpy as np\na=[[[],[],[]],[[],[],[]]]\nfor i in range(int(input())):\n s,t,u=map(str,input().split())\n if u=="R":\n a[0][0].append(int(s))\n a[1][1].append(int(t))\n elif u=="L":\n a[0][2].append(int(s))\n a[1][1].append(int(t))\n elif u=="U":\n a[1][0].append(i... | ['Runtime Error', 'Accepted'] | ['s499939576', 's881354391'] | [3064.0, 2940.0] | [17.0, 17.0] | [867, 52] |
p02999 | u623065116 | 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'] | ['s511805605', 's554255956'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 77] |
p02999 | u623659526 | 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 logging\n\nlogging.basicConfig(level=logging.INFO, format="%(message)s")\nlogging.disable(logging.CRITICAL)\n\nN, K = (int(x) for x in input().split())\nL = list(int(x) for x in input().split())\n\nlogging.info(L)\n\ncounter = 0\n\nfor i in range(0, N):\n for j in range(i, N):\n if sum(L[i:j+1]) > K:... | ['Runtime Error', 'Accepted'] | ['s103405875', 's854223643'] | [4212.0, 2940.0] | [30.0, 17.0] | [354, 85] |
p02999 | u623953567 | 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,itput().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', 'Accepted'] | ['s619571289', 's738126664'] | [2940.0, 2940.0] | [17.0, 17.0] | [72, 72] |
p02999 | u624613992 | 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'] | ['s412640302', 's507668806'] | [3060.0, 2940.0] | [17.0, 17.0] | [71, 71] |
p02999 | u628375749 | 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())\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,a = map(int, input().split())\nif x < a :\n print(0)\nelse:\n print(10)\n '] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s542621013', 's853005794', 's455311362'] | [2940.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [76, 78, 80] |
p02999 | u628965061 | 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())\nprint(0 if x<a else 10)', 'x,a=map(int,input().split())\nprint(0 if x<a else 10)'] | ['Runtime Error', 'Accepted'] | ['s112117629', 's826455009'] | [2940.0, 2940.0] | [17.0, 17.0] | [40, 52] |
p02999 | u629607744 | 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 <\u3000a:\n\tprint(0)\nelse:\n\tprint(10)', 'x,a = map(int,input().split())\nif x < a:\n\tprint(0)\nelse:\n\tprint(10)\n'] | ['Runtime Error', 'Accepted'] | ['s057742779', 's428784619'] | [2940.0, 2940.0] | [18.0, 17.0] | [69, 68] |
p02999 | u632413369 | 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 0 < a < x:\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'] | ['s644539551', 's977174713'] | [9156.0, 9160.0] | [29.0, 27.0] | [67, 75] |
p02999 | u636775911 | 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()):print(10)\nelse:print(0)', 'n=[int(i) for i in input().split]\nif(n[0]>=n[1]):\n print(10)\nelse:\n print(0)', 'if(int(input())<=int(input())):print(10)\nelse:print(0)', 'n=[int(i) for i in input().split()]\nif(n[0]>=n[1]):\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s174565618', 's730472450', 's784110444', 's644150736'] | [2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 18.0] | [44, 78, 54, 80] |
p02999 | u639104973 | 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()))\ns=[x for x in range(N) if sum(L[:x])<=X]\nif N>=len(s):\n print(len(s))\nelse:\n print(N+1)', 'X,A=map(int, input().split())\nprint(0 if X<A else 10)'] | ['Runtime Error', 'Accepted'] | ['s186852442', 's162508927'] | [2940.0, 2940.0] | [17.0, 17.0] | [153, 53] |
p02999 | u649423802 | 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. | ['M,A = map(int,input().split())\n\nif X < A:\n print(0)\nelse:\n print(10)', 'M,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', 'Runtime Error', 'Accepted'] | ['s289999880', 's369987699', 's432427664'] | [2940.0, 2940.0, 2940.0] | [16.0, 17.0, 17.0] | [70, 75, 71] |
p02999 | u652569315 | 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 = mao(int,input())\nif x >= a:\n print(10)\nelse:\n print(0)', 'w,h,x,y = map(int,input().split())\ns = w*h/2\nif x == w/2 and y == h/2:\n print(s,1)\nelse:\n print(s,0)\n', 'x,a = map(int,input().split())\nif x >= a:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s085210986', 's846440274', 's632055415'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [62, 103, 70] |
p02999 | u652656291 | 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 priny(0)', 'x,a = map(int,input().split())\nif x >= a:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s234171899', 's646645490'] | [2940.0, 2940.0] | [19.0, 17.0] | [70, 70] |
p02999 | u652892331 | 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())\ndef function(x, a):\n if x < a:\n return 0\n else:\n return 10\n \nfunction(x,a)', 'x, a = = (int(i) for i in input().split())\ndef function(x, a):\n if x < a:\n return 0\n else:\n return 10\n \nfunction(x,a)', 'def function(x, a):\n if x < a:\n return 0... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s311701862', 's737047667', 's998464191', 's885827509'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [124, 126, 84, 131] |
p02999 | u656995812 | 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(10)', 'x, a = map(int, input().split())\nif (x < a):\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s524187929', 's603301400'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 77] |
p02999 | u658288444 | 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())\nout = 0\nif (x == w/2 and y!= 0 and y != h) or (y == h/2 and x != 0 and x != w) or (h*x == w*y and x !=0 and x != w):\n out = 1\nprint(w*h/2, out)', 'x, a = map(int, input().split())\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s721421492', 's529193438'] | [3060.0, 2940.0] | [18.0, 17.0] | [183, 71] |
p02999 | u660335415 | 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 =input()\nA =input()\nif X < A:\n print(0)\nelse:\n print(10)\n ', 'list = input().split(" ")\nX = list[0]\nA = list[1]\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s363222395', 's015403752'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 88] |
p02999 | u661877625 | 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())\nw_list = list(map(int, input().split()))\n\nd=0\nfor i in range(n+1):\n d=d+w_list[i]\n if(d>x):\n break\nprint(i+1)\n', 'p,q,r=map(int, input().split()) #spaceno\nN=[p,q,r]\nN.sort()\nprint (N[0]+N[1])', 'x,a=map(int, input().split())\nif(x<a):\n print (0)\nelse:\n pri... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s113701427', 's486522373', 's090785112'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [151, 77, 74] |
p02999 | u663710122 | 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 10)', 'X, A = map(int, input().split())\nprint(0 if X < A else 10)'] | ['Runtime Error', 'Accepted'] | ['s354846314', 's429025462'] | [2940.0, 2940.0] | [17.0, 17.0] | [56, 58] |
p02999 | u665572011 | 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. | ['#include<stdio.h>\n\nint judge(int a, int b)\n{\n if(a < b)\n {\n return 0;\n }\n else if(a >= b)\n {\n return 10;\n }\n return 0;\n}\n\nint main()\n{\n int a, b;\n scanf("%i %i", &a, &b);\n int re = judge(a, b);\n printf("%i\\n", re);\n}\n', '#include<stdio.h>\n\nint ju... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s124309427', 's468431767', 's100051173'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [264, 289, 129] |
p02999 | u668503853 | 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\nprint(10) if X >= A', 'X,A = map(int,input().split())\nif X < A:print(0)\nelse:print(10)'] | ['Runtime Error', 'Accepted'] | ['s359800527', 's998784006'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 63] |
p02999 | u670180528 | 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())\nif x < a:\n print(0)\nelse:\n print(10)', 'a=input();print((a[0]>=a[2])*10)'] | ['Runtime Error', 'Accepted'] | ['s964611932', 's180689146'] | [2940.0, 2940.0] | [18.0, 17.0] | [69, 32] |
p02999 | u672952553 | 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. | ['nx = [int(e) for e in input().split()]\nll = [int(e) for e in input().split()]\n\nn = nx[0] \nx = nx[1] \npoint = 0 \ncount = 0 \n\nif point <= x:\n count += 1\n\nwhile point <= x:\n\n if count == n:\n break\n point += ll[count - 1]\n count += 1\n if point > x:\n count -= 1\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s398597302', 's734154266', 's752572957'] | [3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [418, 418, 106] |
p02999 | u673361376 | 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\nimport math\nw, h, x, y = map(int, sys.stdin.readline().split())\n\nd = [None for i in range(4)]\nd[0] = abs(x*1+y*(-1)+w*h)/math.sqrt(1**2 + (-1)**2)\nd[1] = abs(x*(-h/w)+y*(-1)+h)/math.sqrt((-h/w)**2 + (-1)**2)\nd[2] = abs(x-w*0.5)\nd[3] = abs(y-h*0.5)\n\nif int(w-2*x)==0 and int(h-2*y)==0:\n print(w*h... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s365405856', 's828832664', 's180937752'] | [3320.0, 3188.0, 2940.0] | [19.0, 18.0, 17.0] | [1971, 1037, 95] |
p02999 | u677121387 | 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 ans = 0\nelse;\n ans = 10\n\nprint(ans)', 'x,a = map(int,input().split())\n\nif x < a:\n ans = 0\nelse:\n ans = 10\n\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s323051655', 's221232845'] | [2940.0, 2940.0] | [17.0, 19.0] | [84, 84] |
p02999 | u677842374 | 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('o')", "X, A = map(int, input().split())\nif X>=A:\n print('10')\nelif X<A:\n print('o')", 'X, A = map(int, input().split())\n\nif X<A:\n print(0)\nelif X>=A:\n print(10)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s893672293', 's907588644', 's597706978'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [78, 82, 79] |
p02999 | u679131784 | 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 = input()\nA = input()\n\nif X < A:\n print('0')\nelse:\n print('10')", "X = input()\nA = input()\n\nif X < A:\n print('0')\nelse:\n print('1')", "X,A = 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')"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s476623957', 's875331460', 's957997552', 's998893140'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [71, 70, 61, 78] |
p02999 | u679987760 | 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. | ["tmp = map(int, input().split(' '))\nif tmp[0] < tmp[1]:\n print(0)\nelse:\n print(10)", '# -*- coding: utf-8 -*-\ntmp = map(int, input().split())\nif tmp[0] < tmp[1]:\n print(0)\nelse:\n print(10)', '# -*- coding: utf-8 -*-\ntmp = list(map(int, input().split()))\nif tmp[0] < tmp[1]:\n print(0)\nelse:\n print(10... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s228166833', 's850813554', 's095288762'] | [2940.0, 3060.0, 2940.0] | [17.0, 18.0, 17.0] | [83, 104, 111] |
p02999 | u682730715 | 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# coding: UTF-8\nimport sys\n\nimport heapq\nimport re\nimport bisect\nimport random\nimport math\nimport itertools\nfrom collections import defaultdict, deque\nfrom copy import deepcopy\nfrom decimal import *\n\nreadl= lambda: list(map(int, sys.stdin.readline().split()))\nreadt= lamb... | ['Runtime Error', 'Accepted'] | ['s363697868', 's729899569'] | [6864.0, 5588.0] | [70.0, 40.0] | [622, 606] |
p02999 | u690844139 | 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,imput().split())\nif X <A:\n print("0")\nelse:\n print("10"', 'X,A = map(int,imput().split())\nif X <A:\n print("0")\nelse:\n print("10")\n \n', 'X,A = map(int,input().split())\nif X <A:\n print("0")\nelse:\n print("10")\n \n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s390485014', 's923416025', 's855725348'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [71, 76, 76] |
p02999 | u692054751 | 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 LI():\n return [int(s) for s in input().split()]\n\nX,A = LI()\n\nprint(10) if X >= A else print(-1) ', 'def LI():\n return [int(s) for s in input().split()]\n\nX,A = LI()\n\nprint(10) if X >= A else print(0) '] | ['Wrong Answer', 'Accepted'] | ['s115281524', 's708419360'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 100] |
p02999 | u695655590 | 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 numpy as np\n\nb, c = map(int, input().split())\nif b < c:\n print('0')\n else:\n print('10')", "a = raw_input().split()\nif a[0] < a[1]:\n print('0')\n else:\n print('10')", "b, c = map(int, input().split())\nif b < c:\n print('0')\n else:\n print('10')\n", "a = input().split()\nif a[0] < a[1]:... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s319071961', 's817395658', 's848986307', 's370776164'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0, 17.0] | [99, 76, 80, 68] |
p02999 | u698883164 | 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\nprint(type(x))\nif x<a:\n print(0)\nelse :\n print(10)\n\n', 'x,a=map(int,input().split())\n\nif x<a:\n print(0)\nelse :\n print(10)\n\n'] | ['Wrong Answer', 'Accepted'] | ['s175613253', 's040301895'] | [9140.0, 9128.0] | [27.0, 28.0] | [88, 73] |
p02999 | u704216644 | 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\nN, M = map(int, input().split())\nS = list(map(int, input().split()))\nT = list(map(int, input().split()))\n\ndp = [1] * (M+1)\ndpleft = [0] * (M)\nMOD = 10 ** 9 + 7\n\nfor n in range(N):\n ndp = [1]\n for m in range(M):\n if S[n] == T[m]:\n ndp.append(ndp[-1] + dp[m+1])\n dplef... | ['Runtime Error', 'Accepted'] | ['s193154053', 's384252769'] | [3064.0, 2940.0] | [17.0, 17.0] | [420, 96] |
p02999 | u705427370 | 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())\n\nif a < b:\n print(0)\n\nelse:\n print(10)', 'a,b = map(int,input().split())\n\nif a < b:\n print(0)\n\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s948326820', 's843342959'] | [2940.0, 2940.0] | [17.0, 18.0] | [75, 75] |
p02999 | u706414019 | 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\ninput = sys.stdin.readline\n\nX,A =list(map(int,input().split()))\nprint(10 if A >=X else 0)\n', 'import sys\ninput = sys.stdin.readline\n\nX,A =list(map(int,input().split()))\nprint(10 if A >= X else 0)\n', 'import sys\ninput = sys.stdin.readline\n\nX,A =list(map(int,input().split()))\nprint(10 if A <= X... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s332067132', 's834085398', 's239352378'] | [8976.0, 8968.0, 9076.0] | [27.0, 24.0, 27.0] | [101, 102, 102] |
p02999 | u711117514 | 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, y = [int(i) for i in input().split()]\nif x < y: print(1)\nelse: print(10)', 'x, y = [int(i) for i in input().split()]\nif x < y: print(0)\nelse: print(10)'] | ['Wrong Answer', 'Accepted'] | ['s485385416', 's855797624'] | [2940.0, 2940.0] | [17.0, 17.0] | [75, 75] |
p02999 | u712868001 | 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')\nif X >= A:\n print('10')", "X,A= map(int, input().split())\nif X < A:\n print('0')\nif X >= A:\n print('10')"] | ['Wrong Answer', 'Accepted'] | ['s434031243', 's859143066'] | [2940.0, 2940.0] | [17.0, 19.0] | [78, 78] |
p02999 | u723444827 | 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\n\nans = '{} {}'.format(\n W * H / 2,\n 1 if x == W / 2 and y == H / 2 else\n 0\n)\n\n\nprint(ans)", 'import sys\n\nx = sys.argv[1]\na = sys.argv[2]\n\nif(x < a):\n print(0)\nelse:\n print(10)\n ', 'x, a = input().split()\n\nif(x < a):\n print(0)\nelse:\... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s175261789', 's703908653', 's612666014'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [241, 93, 68] |
p02999 | u727073061 | 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\njudge = 0\n\nif x >= a:\n judge = 10\n\n print(judge)', 'x,a = map(int,input().split())\n\njudge = 0\n\nif x >= a:\n judge = 10\n\nprint(judge)'] | ['Wrong Answer', 'Accepted'] | ['s859868817', 's584124829'] | [2940.0, 2940.0] | [18.0, 17.0] | [82, 80] |
p02999 | u727787724 | 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!\nw,h,x,y=map(int,input().split())\n#print(min(max(x*h,(w-x)*h),max(y*w,(h-y)*w)))\nif w==x+x and h==y+y:\n print(float(w)*float(h)/2,1)\nelse:\n print(float(w)*float(h)/2,0)\n\n', 'x,a=map(int,input().split())\nif(x>=a):\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s775570237', 's186459138'] | [3060.0, 2940.0] | [18.0, 17.0] | [209, 71] |
p02999 | u729535891 | 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(str(0)\nelse:\n print(str(10))\n', 'X, A = map(int, input().split())\nif X < A:\n print(str(0))\nelse:\n print(str(10))\n'] | ['Runtime Error', 'Accepted'] | ['s918258147', 's513607589'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 86] |
p02999 | u735996463 | 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 itertools \nn,x = list(map(int,input().split()))\nl = list(map(int,input().split()))\nk = list(itertools.accumulate(l))\nk.sort()\ns = 0\nii = 0\n\nfor i in k:\n if(i<=x):\n continue\n else:\n s = ii\n ii+=1\n break\nif(s==0):\n print(n)\nelse:\n print(max(1,s+1))', 'x,a... | ['Runtime Error', 'Accepted'] | ['s038762822', 's480478841'] | [3064.0, 2940.0] | [19.0, 17.0] | [293, 79] |
p02999 | u739959951 | 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)', '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')", 'x,a=map(int,input().split())\n\nif x<a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s118462552', 's634149989', 's828635048', 's971799984'] | [2940.0, 2940.0, 2940.0, 2940.0] | [20.0, 17.0, 17.0, 17.0] | [64, 64, 68, 66] |
p02999 | u744517446 | 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\nI = 0\nA = 1\nfor i in L:\n I+=i\n if I <= X:\n A += 1\nprint(A)', 'a,b = map(int,input().split())\nif a < b :\n print("0")\nelse:\n print("10")'] | ['Runtime Error', 'Accepted'] | ['s532385098', 's470168034'] | [2940.0, 2940.0] | [17.0, 17.0] | [130, 74] |
p02999 | u745554846 | 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(i) for i in input().split()]\n \nif b < a:\n print(0)\nelse:\n print(10)', 'a, b = [int(i) for i in input().split()]\n \nif b <= a:\n print(0)\nelse:\n print(10)', 'a, b = [int(i) for i in input().split()]\n\nif b >= a:\n print(10)\nelse:\n print(0)', 'a,b=[int(i) for i in input().split()]\n\nif a <... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s381249599', 's410686556', 's895767369', 's487904894'] | [3064.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0] | [81, 82, 81, 81] |
p02999 | u747427153 | 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(10)', 'x, a = map(int, input().split())\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s063129979', 's045364383'] | [2940.0, 2940.0] | [17.0, 18.0] | [63, 71] |
p02999 | u747873993 | 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=(int(i) for i in input().split())\nL=[int(i) for i in input().split()]\nfor i in range(1,N+1):\n if sum(L[:i])>X:\n print(i)\n break', 'N,X=(int(i) for i in input().split())\nL=[int(i) for i in input().split()]\nfor i in range(1,N+1):\n if sum(L[:i])>X:\n print(i)\n break', 'X,A=(int(i) fo... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s323398915', 's466528032', 's690826691'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [138, 148, 78] |
p02999 | u752522099 | 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(o)\nelse:\n print(10)', 'x,a = map(int,input().split())\n\nif x <a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s373178466', 's864711332'] | [2940.0, 3064.0] | [17.0, 17.0] | [73, 73] |
p02999 | u755993084 | 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()) % 10\na = int(input()) % 10\nif x < a:\n print(0)\nelif x > a:\n print(10)', 'if x < a:\n print(0)\nelif x > a:\n print(10)', 'x = 0\na = 0\nif x < a:\n print(0)\nelif x > a:\n print(10)', 'x, a = [int(x) for x in input().split()]\nif x < a:\n print(0)\nelif x >= a:\n print(10)'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s654632886', 's654641975', 's943685221', 's615605271'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [88, 44, 56, 86] |
p02999 | u756399469 | 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\tprint(0)\nelse:\n\tprint(10)', 'x, a = map(int,input().split())\nif x < a:\n\tprint(0)\nelse:\n\tprint(10)'] | ['Runtime Error', 'Accepted'] | ['s843471120', 's581718911'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 68] |
p02999 | u756693875 | 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(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s509873602', 's131374855'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 74] |
p02999 | u759412327 | 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 int(input())<int(input()):\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', 'Accepted'] | ['s259156711', 's979437891'] | [2940.0, 9116.0] | [17.0, 26.0] | [58, 68] |
p02999 | u760360044 | 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. | ['intA = int(input())\nintX = int(input())\n\nif 0<=intA and intA<=9 and 0<=intX and intX<=9:\n\tif intX<intA:\n\t\tprint(0)\n\telse:\n\t\tprint(10)', 'intA = int(input())\nintX = int(input())\n\nif 0<=intA and intA<=9 and 0<=intX and intX<=9:\n\tif intX<intA:\n\t\tprint(0)\n\telse:\n\t\tprint(1)', 'X,A = list(map(int,... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s064665739', 's068315946', 's577154351'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [133, 132, 60] |
p02999 | u761087127 | 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(n) for n in input().split()]\nreturn 0 if x < a else 10', 'x, a = [int(n) for n in input().split()]\nprint(0 if x < a else 10)'] | ['Runtime Error', 'Accepted'] | ['s303370261', 's593479273'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 66] |
p02999 | u761471989 | 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()\nx = int(x)\na = int(a)\n\nif x < a:\n print(0)\nelse:\n print(10)', 'x, a = input().split()\nx = int(x)\na = int(a)\n\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s322904709', 's289940105'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 84] |
p02999 | u761676084 | 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 = list(map(int,input().split()))\nl = list(map(int,input().split()))\n\nlength = 0;\nanswer = 1;\ni = 0;\n\nwhile length + l[i] <= n[1]:\n length = length + l[i]\n answer = answer + 1\n if(len(l) == (i+1)):\n break;\n i = i + 1\n\n#if(answer <= n[0]):\nprint(answer)\n#else:\n# print(n[0])', 'i... | ['Runtime Error', 'Accepted'] | ['s192785422', 's693529094'] | [3064.0, 2940.0] | [18.0, 17.0] | [296, 85] |
p02999 | u762960952 | 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\nans = 0\n\nfor i in range(N):\n if D <= X:\n D += L[i]\n ans += 1\n else:\n break\nprint(ans)\n', 'X,A = map(int,input().split(" "))\n\nif X >= A:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s461646530', 's005742782'] | [2940.0, 2940.0] | [17.0, 17.0] | [175, 78] |
p02999 | u767432305 | 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(10)', 'from itertools import accumulate \nN,K=map(int,input().split())\na=[int(i) for i in input().split()]\nb=list(reversed(a))\nb_sum=list(accumulate(b))\nnum=0\nfor i in range(len(b_sum)):\n if b_sum[i]<K:\n num+=1\n\nans=0\nfor i in range(N-n... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s089494355', 's705869168', 's112107048'] | [2940.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0] | [61, 407, 69] |
p02999 | u770160911 | 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]=[int(x) for x in input().split()]\nl=[int(x) for x in input().split()]\nk=0\ncount=0\nfor i in range(n):\n if k<=x:\n count+=1\n k+=l[i]\nprint(count)', "[x,a]=[int(x) for x in input().split()]\nif x<a:\n print('0')\nelse:\n print('10')"] | ['Runtime Error', 'Accepted'] | ['s253788066', 's242833857'] | [3060.0, 2940.0] | [17.0, 17.0] | [153, 80] |
p02999 | u771538568 | 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()\nc=a.split()\nd=b.split()\ne=0\nk=0\nu=int(c[1])\nfor i in range(len(d)):\n e+=int(d[i])\n k+=1\n if e>u:\n break\nprint(k)', 'a=input()\nb=input()\nc=a.split()\nd=b.split()\ne=0\nk=1\nu=int(c[1])\nfor i in range(len(d)):\n e+=int(d[i])\n k+=1\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s591981143', 's750942387', 's169422416'] | [3064.0, 3060.0, 2940.0] | [17.0, 17.0, 18.0] | [168, 168, 74] |
p02999 | u773686010 | 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())\nflg = 0\nif W/2 == x and H/2 ==y:\n ans = (W*H)/2\n flg = 1\nelif W/2 == x or H/2 ==y:\n ans = (W*H)/2\n flg = 0\nelse:\n tatemax = min(W-x,x)*H\n yokomax = min(H-y,y)*W\n if tatemax == yokomax:\n ans = tatemax\n flg =1\n else:\n ans = m... | ['Runtime Error', 'Accepted'] | ['s599292659', 's769588243'] | [9136.0, 9096.0] | [28.0, 25.0] | [369, 56] |
p02999 | u774985302 | 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)\nelse:\n print(10)', 'X,A = map(int,input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s070750231', 's805111464', 's103316271'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [73, 73, 73] |
p02999 | u778113870 | 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(2*x == w and 2*y ==h) :\n ff = 1\nelse :\n ff = 0\n\nprint(str(w * h / 2) + " " + str(ff))\n\n', 'w,h,x,y = map(int,input().split())\n\nhx = h * x\nhx2 = h * (w-x)\nwy = w * y\nwy2 = w * (h-y)\n\nif(hx > hx2) :\n d1 = hx2\nelse :\n d1 = hx\n\nif(wy > wy2) :\n d2... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s548008600', 's928930415', 's648044347'] | [2940.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0] | [132, 323, 79] |
p02999 | u780565479 | 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(10) if X<A else print(0)', 'X,A = map(int, input().split())\nprint(0) if X<A else print(10)\n'] | ['Wrong Answer', 'Accepted'] | ['s869608433', 's755282804'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 63] |
p02999 | u783175749 | 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=int(input())\nX=int(input())\n\nif X < A:\n print('0')\nelse:\n print('10')", '\nA,X=map(int, input().split())\n\nif X<A:\n print(0)\nelse:\n print(10)', 'A=int(input())\nX=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 p... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s142007587', 's163232922', 's792743516', 's644616991'] | [2940.0, 3316.0, 2940.0, 3064.0] | [17.0, 21.0, 17.0, 18.0] | [77, 109, 71, 71] |
p02999 | u784849232 | 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'] | ['s902429927', 's490638384'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 71] |
p02999 | u788693775 | 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 = input().split()\nl_list = input().split()\ni = 0\nans = 0\ny = 1\nfor l in l_list:\n if i > int(x):\n print(ans)\n y = 0\n break\n i += int(l)\n ans += 1\nif y:\n print(ans)', 'x, a = input().split()\nprint(0) if (x < a) else print(10) '] | ['Runtime Error', 'Accepted'] | ['s178479881', 's829290681'] | [3060.0, 2940.0] | [17.0, 17.0] | [198, 58] |
p02999 | u788856752 | 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\nif x < a:\n print(0)\nelse:\n print(10)', 'n, x = map(int, input().split())\nl = list(map(int, input().split()))\n\nd = 0\ncnt = 0\nif l[0] == 0:\n print(0)\nelse:\n cnt += 1\n for i in range(1,n):\n d += l[i - 1]\n if d <= x:\n cnt += 1\n print(cnt)\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s029900260', 's286463545', 's828478460', 's386462236'] | [2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [63, 232, 65, 73] |
p02999 | u789854092 | 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 0)', 'N = int(input())\nreturn 0 if N[0] < N[1] else 10', 'return (0 if X < A else 10)', 'import sys\nfor e in sys.stdin.readline():\n X, A = map(int, e.split())\n print(0 if X < A else 10)', '0 if X < A else 10', 'X,A = map(int,input().split())\n \nprint(0... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s132289500', 's181563832', 's585402928', 's778448937', 's877892373', 's882108123'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [55, 48, 28, 102, 18, 57] |
p02999 | u794161347 | 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 x < a:\n print(0)\nelse:\n print(10)', 'x, a = input().split()\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s549182953', 's448102802'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 65] |
p02999 | u794837906 | 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. | ['bound = 0\nlength = 0\n\nn, x = input().split()\nl = input().split()\n\nfor i in range(int(n)):\n if length <= int(x):\n length += int(l[i])\n bound += 1\n else:\n break\n\nprint(bound)\n', 'x, a = input().split()\nif x < a:\n print("0")\nelse:\n print("10")\n'] | ['Runtime Error', 'Accepted'] | ['s958724059', 's240043724'] | [2940.0, 2940.0] | [18.0, 17.0] | [184, 66] |
p02999 | u795323188 | 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 X<A:\n print(0)\nelse:\n print(10)', 'N,X = map(int,input().split(" "))\nl_list = input().split()\n\ncount = 1\nd = 0\nfor i in range(N):\n da = d + int(l_list[i])\n d = da\n if da <= X:\n count +=1\n else:\n print(count)\n break\n', 'lists... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s292035725', 's409488488', 's410492946', 's710182155', 's710716179', 's714862640'] | [2940.0, 2940.0, 2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 21.0, 17.0, 17.0, 17.0, 17.0] | [36, 253, 87, 97, 325, 99] |
p02999 | u797848138 | 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\n(print(10) if x >= a else print(', 'x,a = map(int,input().split())\n\n(print(10) if x >= a else print(0))'] | ['Runtime Error', 'Accepted'] | ['s175879997', 's488890634'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 67] |
p02999 | u798894056 | 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(map(int, input().split()))\n\ncnt = 0\ndef main():\n for i in range(N):\n for j in range(i + 1, N + 1):\n s = sum(a[i:j])\n if s >= K:\n cnt += N - ( j - 1 )\n break\n print(cnt)\n\nif __name__ == "__main__":\n main()', 'X,... | ['Runtime Error', 'Accepted'] | ['s283501771', 's059370255'] | [3060.0, 2940.0] | [17.0, 17.0] | [298, 75] |
p02999 | u800058906 | 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')\n"] | ['Runtime Error', 'Accepted'] | ['s184981287', 's698551418'] | [8948.0, 9136.0] | [26.0, 28.0] | [73, 70] |
p02999 | u802963389 | 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 a < x:\n ans = 0\nelse:\n ans = 10\n \nprint(ans)', 'x, a = map(int, input().split())\n\nif x < a:\n ans = 0\nelse:\n ans = 10\n \nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s966456911', 's618391249'] | [9068.0, 8920.0] | [30.0, 30.0] | [84, 84] |
p02999 | u804507433 | 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(map(int, input().split()))\ncount = 0\nfor i in range(N):\n sum = 0\n while i < N:\n sum += a[i]\n i += 1\n if sum >= K:\n count += N-1-i\n break\n\nprint(count)', 'X, A = map(int, input().split())\nif X >= A:\n print(10)\n... | ['Runtime Error', 'Accepted'] | ['s167493460', 's239361534'] | [3060.0, 2940.0] | [17.0, 17.0] | [241, 77] |
p02999 | u805575473 | 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()\nprint(X < A * 10)', 'X, A =[int(i) for i in input().split()]\nprint((X < A) * 10)', 'import time\ntime.sleep(3)\nprint(0)', 'X, A =[int(i) for i in input().split()]\nprint((X >= A) * 10)'] | ['Wrong Answer', 'Wrong Answer', 'Time Limit Exceeded', 'Accepted'] | ['s177621497', 's588693508', 's868148158', 's940025714'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 2104.0, 17.0] | [40, 60, 34, 61] |
p02999 | u813286880 | 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('{}'.format('0'))\nelse:\n print('{}'.format('10'))", "X, A = map(int, input().split())\n\nif X < A:\n print('{}'.format('0'))\nelse:\n print('{}'.format('10'))"] | ['Runtime Error', 'Accepted'] | ['s315814224', 's267994394'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 106] |
p02999 | u814986259 | 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]*(N)\n\nD[0]=0\ncount=1\nfor i in range(1,N):\n D[i]=D[i-1]+L[i-1]\n if D[i]<=X:\n count+=1\n else:\n break\nprint(count)\n', "X,A=map(int,input().split())\nif X < A:\n print('0')\nelse:\n print('10')"] | ['Runtime Error', 'Accepted'] | ['s853714960', 's889846009'] | [3060.0, 2940.0] | [18.0, 17.0] | [189, 71] |
p02999 | u816732092 | 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'] | ['s726108615', 's841541152'] | [2940.0, 2940.0] | [18.0, 17.0] | [63, 71] |
p02999 | u816878803 | 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())\nif w%2==0 and h%2==0:\n print(x*h,1) \nelif w%2==0:\n print(x*h,0)\nelif h%2==0:\n print(y*w,0)\nelif w%2!=0 and h%2!=0:\n print(w*h/2,0)', 'w,h,x,y=map(int,input().split())\nif w%x==0 and h%y==0:\n print(x*h) \n print(1)\nelif w%x==0:\n print(x*h)\n print(0)\... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s087498270', 's260286595', 's374717097'] | [3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [175, 201, 52] |
p02999 | u821432765 | 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. | ['print(0 if eval(input().replace(" ","-")) > 0 else 10)', 'print(((eval(input().replace(" ","-"))) >= 0)*10)'] | ['Wrong Answer', 'Accepted'] | ['s205691184', 's280272393'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 49] |
p02999 | u823885866 | 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\nimport math\nimport itertools\nimport collections\nimport heapq\nimport re\nimport numpy as np\n\nrr = lambda: sys.stdin.readline().rstrip()\nrs = lambda: sys.stdin.buffer.readline().split()\nri = lambda: int(sys.stdin.readline())\nrm = lambda: map(int, sys.stdin.buffer.readline().split())\nrl = lambda: l... | ['Runtime Error', 'Accepted'] | ['s267209062', 's431346476'] | [27032.0, 27080.0] | [113.0, 118.0] | [433, 438] |
p02999 | u827261928 | 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'] | ['s719701697', 's743370870'] | [9032.0, 9012.0] | [29.0, 27.0] | [70, 69] |
p02999 | u830054172 | 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)', 'x, a = list(map(int, input().split()))\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s618872540', 's039930239'] | [2940.0, 3064.0] | [17.0, 20.0] | [66, 77] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.