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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02998 | u533039576 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ['from collections import defaultdict\n\nclass UnionFind():\n def __init__(self, n):\n self.par = [i for i in range(n)]\n\n def find(self, x):\n if self.par[x] != x:\n self.par[x] = self.find(self.par[x]) # contruction\n return self.par[x]\n\n def unite(self, x, y):\n x =... | ['Wrong Answer', 'Accepted'] | ['s102459157', 's810745202'] | [24984.0, 25420.0] | [922.0, 922.0] | [1037, 1039] |
p02998 | u638795007 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ['def examA():\n N = DI()/dec(7)\n ans = N\n print(N)\n return\n\ndef examB():\n ans = 0\n print(ans)\n return\n\ndef examC():\n ans = 0\n print(ans)\n return\n\ndef examD():\n ans = 0\n print(ans)\n return\n\ndef examE():\n ans = 0\n print(ans)\n return\n\ndef examF():\n... | ['Wrong Answer', 'Accepted'] | ['s273320074', 's167862769'] | [63540.0, 63464.0] | [388.0, 356.0] | [2314, 2302] |
p02998 | u671861352 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ['# import sys\n\n\nN = int(input())\nCOR = [tuple((map(int, input().split()))) for _ in range(N)]\n\n\nclass Group:\n \n def __init__(self):\n self.n = 0\n self.x = []\n self.y = []\n \n\n# self.x[x] = None\n\n\n# self.y[y] = None\n \n def new_cor_n(self):\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s079699683', 's120538766', 's158005546', 's175792835', 's396112378', 's627837724', 's771083852', 's835673876', 's846295836', 's927047756', 's837356115'] | [47712.0, 44136.0, 16640.0, 2940.0, 45128.0, 3064.0, 45104.0, 45204.0, 44188.0, 44180.0, 59000.0] | [706.0, 593.0, 337.0, 17.0, 773.0, 17.0, 709.0, 729.0, 576.0, 615.0, 825.0] | [1696, 1713, 1577, 1588, 1519, 1222, 1409, 1361, 1545, 1523, 1679] |
p02998 | u729133443 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ['from networkx import*\ndef main():\n g=Graph()\n for a in[*open(x:=0)][1:]:\n a,b=map(int,a.split())\n g.add_edge(a,7**6+b)\n for c in connected_components(g):\n s=g.subgraph(c)\n #a,b=map(len,bipartite.sets(s))\n #x+=a*b-len(s.edges)\n print(x)\nmain()', 'from networkx ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s308599271', 's326256391', 's642428965', 's497551559'] | [156060.0, 155064.0, 156312.0, 127456.0] | [905.0, 848.0, 1402.0, 1079.0] | [289, 294, 279, 852] |
p02998 | u858742833 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ['def main():\n N = int(input())\n X, Y = {}, {}\n for _ in range(N):\n x, y = map(int, input().split())\n if x not in X:\n X[x] = set()\n X[x].add(y)\n if y not in Y:\n Y[y] = set()\n Y[y].add(x)\n processed = set()\n r = 0\n while X:\n ... | ['Wrong Answer', 'Accepted'] | ['s642228444', 's840426940'] | [45904.0, 45800.0] | [557.0, 547.0] | [704, 684] |
p02998 | u988402778 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ["def main():\n # functions used\n r = lambda: sys.stdin.readline().strip()\n R = lambda: list(map(int, r().split()))\n\n N = int(r())\n Dic = defaultdict(list)\n V = 10**5 + 5\n Arrived = [False] * (2 * V)\n for _ in range(N):\n x, y = R()\n y += V\n Dic[x].append(y)\n ... | ['Runtime Error', 'Accepted'] | ['s219874207', 's303578394'] | [3064.0, 32012.0] | [18.0, 456.0] | [1015, 1070] |
p02998 | u994521204 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ['import sys\n\nread = sys.stdin.buffer.read\nreadline = sys.stdin.buffer.readline\nreadlines = sys.stdin.buffer.readlines\n\nn, *xy = map(int, read().split())\nXY = zip(xy, xy)\n\nmax_num = 10 ** 5\ndelta = 10 ** 5 + 10\n\ngraph = [[] for _ in range(max_num + delta + 1)]\n\nfor x, y in XY:\n graph[x].append(delta +... | ['Wrong Answer', 'Accepted'] | ['s535372456', 's372967111'] | [44176.0, 43828.0] | [459.0, 393.0] | [1519, 1525] |
p02998 | u997641430 | 2,000 | 1,048,576 | There are N dots in a two-dimensional plane. The coordinates of the i-th dot are (x_i, y_i). We will repeat the following operation as long as possible: * Choose four integers a, b, c, d (a \neq c, b \neq d) such that there are dots at exactly three of the positions (a, b), (a, d), (c, b) and (c, d), and add a dot ... | ['class UnionFind:\n def __init__(self, n):\n self.n = n\n self.parent = [None]*n\n\n def root(self, x):\n if self.parent[x] == None:\n return x\n else:\n return self.root(self.parent[x])\n\n def union(self, x, y):\n x0 = self.root(x)\n y0 = self.... | ['Wrong Answer', 'Accepted'] | ['s988538738', 's558440619'] | [20996.0, 19136.0] | [748.0, 733.0] | [840, 831] |
p02999 | u000212387 | 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')"] | ['Wrong Answer', 'Accepted'] | ['s062152149', 's522075771'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 69] |
p02999 | u007569200 | 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()]\nif X > A:\n print(0)\nelse:\n print(10)', 'X, A = [int(i) for i in input().split()]\nif X < A: \n print(0)\nelif X >= A:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s095997179', 's215572764'] | [2940.0, 2940.0] | [18.0, 17.0] | [79, 91] |
p02999 | u008489560 | 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(10 if x >= a else 0)'] | ['Wrong Answer', 'Accepted'] | ['s809890100', 's150732953'] | [2940.0, 2940.0] | [17.0, 17.0] | [59, 59] |
p02999 | u008645430 | 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. | ['nk = input().split(\' \')\nn = int(nk[0])\nk = int(nk[1])\na = input().split(\' \')\ncount = 0\nsum = 0\nfor i in range(n):\n# print(i)\n sum = int(a[i])\n j = i+1\n if k<=sum :\n count = count + 1\n while j<n:\n sum = sum + int(a[j])\n \n if k<=sum :\n count = count + 1\n # print("sum:{} coun... | ['Runtime Error', 'Accepted'] | ['s495681416', 's929107260'] | [3060.0, 3060.0] | [17.0, 17.0] | [410, 123] |
p02999 | u009348313 | 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)\n'] | ['Runtime Error', 'Accepted'] | ['s521108081', 's598528294'] | [2940.0, 2940.0] | [18.0, 17.0] | [56, 59] |
p02999 | u014139588 | 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())\npritn(0 if x < a else 10)', 'x,a = map(int,input().split())\nprint(0 if x < a else 10)'] | ['Runtime Error', 'Accepted'] | ['s378369234', 's908578515'] | [9164.0, 9084.0] | [28.0, 27.0] | [56, 56] |
p02999 | u014724123 | 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')\n\nif x >= a:\n print('10')\n", "x, a = map(int, input().split())\n\nif x < a:\n print('0')\n\nif x >= a:\n print('10')\n"] | ['Runtime Error', 'Accepted'] | ['s299776695', 's078636184'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 87] |
p02999 | u020091453 | 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 X<A:\n\tprint(0)\nelse:\n\tprint(10)\n', 'X = int(input())\nA = int(input())\n\nif X<A:\n\tprint(0)\nelse:\n\tprint(10)\n', 'X = int(input())\nA = int(input())\n\nif X<A:\n print(0)\nelse:\n print(10)\n', 'X,A = map(int,input().split())\n\nif X<A:\n\tprint(0)\nelse:\n\tprint... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s206647042', 's420581477', 's821608825', 's010267644'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [70, 70, 72, 67] |
p02999 | u026731851 | 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'] | ['s105919255', 's818077846'] | [2940.0, 2940.0] | [17.0, 17.0] | [68, 70] |
p02999 | u038136206 | 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)\nif x < a:\n\tprint(0)\nelse:\n\tprint(10)', 'x, a = input().split()\nx = int(x)\na = int(a)\nif x < a:\n\tprint(0)\nelse:\n\tprint(10)'] | ['Runtime Error', 'Accepted'] | ['s577226945', 's297757904'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 81] |
p02999 | u040141413 | 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=0\nD=0\nfor i in range(n+1):\n if D>x:\n print(count)\n break\n else:\n D=D+L[i] \n count+=1\n', 'n,x=map(int,input().split())\nL = list(map(int,input().split()))\ncount=1\nD=0\nfor i in range(n):\n if D>x... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s460625943', 's979939103', 's433678598'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [193, 190, 71] |
p02999 | u044026875 | 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(a)\nelse:\n print(10)', 'x,a=map(int,input().split())\nif x<a:\n print(0)\nelse:\n print(10)\n'] | ['Wrong Answer', 'Accepted'] | ['s281881048', 's829785813'] | [2940.0, 2940.0] | [18.0, 18.0] | [69, 70] |
p02999 | u049739819 | 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 a>x:\n print(0)\nelse:\n print(10)\n', '[x,a]=[int(i) for i in input().split()]\n\nif a>x:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s734798669', 's880087967'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 82] |
p02999 | u055687574 | 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 = map(int, input().split())\n\nx = 0\ncnt = 0\nfor l in L:\n x += l\n if x > X:\n break\n else:\n cnt += 1\n\nprint(cnt+1)', 'x, a = map(int, input().split())\n\nif x < a:\n print(0)\nelse:\n print(10)\n\n'] | ['Runtime Error', 'Accepted'] | ['s935257480', 's872103023'] | [2940.0, 2940.0] | [17.0, 17.0] | [169, 78] |
p02999 | u061406236 | 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)'] | ['Runtime Error', 'Accepted'] | ['s482650733', 's667350266'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 75] |
p02999 | u062290034 | 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())\nli = list(map(int,input().split()))\n\npoint=0\ncount=1\nfor i in li:\n point += i\n if point<=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'] | ['s296098799', 's872313030'] | [2940.0, 3316.0] | [17.0, 21.0] | [150, 67] |
p02999 | u065188401 | 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'] | ['s616556998', 's626488569'] | [2940.0, 2940.0] | [17.0, 17.0] | [75, 73] |
p02999 | u066455063 | 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())\ns = H*W/2\n\nif x*2 == W and y*2 == H:\n print(s, 1)\nelse:\n print(s, 0)', 'X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s284323689', 's357397375'] | [2940.0, 2940.0] | [17.0, 17.0] | [113, 75] |
p02999 | u071916806 | 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()\nn=int(N)\nx=int(X)\ni=list(map(int,input().split()))\nD=0\nk=0\nwhile D<=x:\n if k<=n+1:\n D=D+i[k]\n k=k+1\n else:\n k=n+1\nprint(k)', 'N,X=input().split()\nn=int(N)\nx=int(X)\ni=list(map(int,input().split()))\nD=0\nk=0\nwhile D<=x:\n while k<=n+1:\n D=D+i[k]\n k=k+1\nprint(k)'... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s512499471', 's645828094', 's907513052'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [153, 138, 74] |
p02999 | u073561877 | 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\na, x = [int(d) for d in sys.stdin.readline().strip().split()]\n\nif x < a:\n print(0)\nelse:\n print(10)', 'import sys\nx, a = [int(d) for d in sys.stdin.readline().strip().split()]\n \nif x < a:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s904555097', 's573109015'] | [2940.0, 2940.0] | [17.0, 17.0] | [112, 113] |
p02999 | u078181689 | 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())\ndifs = list(map(int, input().split()))\nsteps = [0]\nfor i in range(N):\n steps.append(steps[i] + difs[i])\nfor i in range(N+1):\n if steps[i] > X:\n print(i)\n break\n elif i == N:\n print(N+1)', 'X,A = map(int, input().split())\nif X<A:\n print(0)\n... | ['Runtime Error', 'Accepted'] | ['s343364856', 's149382658'] | [3060.0, 2940.0] | [18.0, 19.0] | [248, 72] |
p02999 | u078276601 | 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 s < 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', 'Accepted'] | ['s894838716', 's127383788'] | [9100.0, 9096.0] | [25.0, 25.0] | [75, 80] |
p02999 | u079543046 | 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())\ns = [int(i) for i in input().split()]\nleft = 0\nright = len(s)\ncount = 0\nwhile not(right == len(s) and left == len(s)):\n if sum(s[left:right])>k:\n count += 1\n if sum(s[left:right])>k:\n right += -1\n else:\n right = len(s)\n left += 1\nprint... | ['Runtime Error', 'Accepted'] | ['s225932885', 's081504412'] | [3064.0, 2940.0] | [17.0, 17.0] | [312, 87] |
p02999 | u084890719 | 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 -*-\nfrom bisect import bisect_left\n\n\ndef main():\n N, K = map(int, input().split())\n *a, = map(int,input().split())\n sum_a = [0] * N\n sum_a[0] = a[0]\n for i in range(N - 1):\n sum_a[i + 1] = sum_a[i] + a[i + 1]\n\n ans = N - bisect_left(sum_a, K)\n\n for l in ra... | ['Runtime Error', 'Accepted'] | ['s920815387', 's020535652'] | [3064.0, 2940.0] | [20.0, 17.0] | [428, 178] |
p02999 | u085430333 | 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)\n', 'X, A = map(int, input().split())\nprint(0 if X < A else 10)'] | ['Runtime Error', 'Accepted'] | ['s555467146', 's647941664'] | [2940.0, 2940.0] | [18.0, 17.0] | [59, 58] |
p02999 | u087279476 | 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. | ['lst = list(int, input().split())\n\nif (lst[0] < lst[1]):\n print(0)\nelse:\n print(10)', 'lst = list(map(int, input().split()))\n \nif (lst[0] < lst[1]):\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s019910980', 's398125302'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 90] |
p02999 | u088608223 | 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=list(map(int,input().split()))\nk=0\nd=0\n\nwhile d<=x:\n if len(l)<=k:\n break\n else:\n d=d+l[k]\n k=k+1\nif d<x:\n print(k+1)\nelse:print(k)', 'a,b = (int(x) for x in input().split())\nif a < b:\n print(0)\nelse: print(10)'] | ['Runtime Error', 'Accepted'] | ['s498262785', 's191026933'] | [3060.0, 2940.0] | [17.0, 17.0] | [187, 76] |
p02999 | u095902316 | 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 = list(map(int, input().split()))\n\nif x < a:\n print(0)\nelse:\n print(10)\n', 'xa = list(map(int, input().split()))\n\nif xa[0] < xa[1]:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s068682438', 's357438728'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 85] |
p02999 | u096025032 | 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")\nelif a <= b:\n print("10")', 'a,b = map(int,input().split())\n\nif a < b:\n print("0")\nelse:\n print("10")'] | ['Wrong Answer', 'Accepted'] | ['s916040962', 's883681223'] | [9100.0, 8972.0] | [28.0, 26.0] | [81, 74] |
p02999 | u096514906 | 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 return 10\nelse:\n return 0', 'X, A = map(int, input().split())\nprint(int(X >= A)*10)\n '] | ['Runtime Error', 'Accepted'] | ['s415152625', 's618709059'] | [2940.0, 2940.0] | [17.0, 17.0] | [72, 57] |
p02999 | u097069712 | 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\tprint(0)\nif x >= a:\n\tprint(10)', 'if x < a:\n\tprint("0")\nif x >= a:\n\tprint("10")', 'x,a = map(int,input().split())\nif x < a:\n\tprint("0")\nif x >= a:\n\tprint("10")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s124375960', 's944101292', 's923090777'] | [3064.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [41, 45, 76] |
p02999 | u098065136 | 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 main():\n while True:\n try:\n listA=list(input())\n except:\n break;\n\n if listA[0] > listA[1]:\n return(0)\n else:\n return(10)\n', 'x,y = map(int,input().split())\t\n\nif x < y:\n print(0)\nelse:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s073955254', 's390603369'] | [2940.0, 2940.0] | [17.0, 17.0] | [184, 75] |
p02999 | u109436774 | 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. | ['d = list(map(int, d.split()))\nif d[0] < d[1]:\n print(0)\nelse:\n print(10)', 'd = list(map(int, input().split()))\nif d[0] < d[1]:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s582254226', 's218300725'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 80] |
p02999 | u115110170 | 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\nnum = 0\n\nif w%2 is 0 and h%2 is 0:\n if w//2 is x and h//2 is y:\n \tnum = 1\n num = 2/0\nprint(w*h/2,num)\n', 'x,a = map(int, input().split())\n\nif x>=a:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s144307721', 's990815080'] | [2940.0, 2940.0] | [17.0, 18.0] | [144, 70] |
p02999 | u127030911 | 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()\ny = input()\nx = int(x)\ny = int(y)\n\nif x >= y:\n print(10)\nelse:\n print(0)', 'x = input()\ny = input()\n\nif x >= y:\n print(10)\nelse:\n print(0)', 'x, y= map(int, input().split())\n\nif x >= y:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s019960577', 's580024278', 's229622018'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0] | [90, 68, 76] |
p02999 | u134965730 | 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\nina = input()\nN = int(ina)\nx_list = []\ny_list = []\ndx_list = []\ndy_list = []\nfor i in range(N):\n x,y,d = input().split()\n x_list.append(float(x))\n y_list.append(float(y))\n if d == 'L':\n \tdx_list.append(-1)\n \tdy_list.append(0)\n elif d == 'R':\n \tdx_list.append(1)\n \tdy_l... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s036239669', 's301324740', 's624023853'] | [12500.0, 3064.0, 2940.0] | [149.0, 17.0, 17.0] | [782, 261, 94] |
p02999 | u135116520 | 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=[]\nD.append(0)\nfor i in range(1,N+1):\n D.append(D[i-1]+L[i-1])\ns=0\nfor j in range(0,N+1):\n if D[j]<=X:\n s+=1\nprint(s)', 'X,A=map(int,input().split())\nif X<A:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s493037992', 's392128702'] | [3060.0, 2940.0] | [17.0, 17.0] | [186, 66] |
p02999 | u135197221 | 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 Input():\n return mapt(int, input().split(" "))\n\ndef main():\n a, b = Input()\n print(0 if a < b else 10)\n\nmain()', 'def main():\n a, b = map(int, input().split(" "))\n print(0 if a < b else 10)\n\nmain()\n'] | ['Runtime Error', 'Accepted'] | ['s953315228', 's866615469'] | [8996.0, 9024.0] | [25.0, 28.0] | [123, 90] |
p02999 | u135389999 | 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\nif a >= b:\n print("10")\nelse:\n print("0")', 'a,b = map(int,input().split())\n \nif a >= b:\n print("10")\nelse:\n print("0")'] | ['Runtime Error', 'Accepted'] | ['s214429066', 's665856135'] | [3064.0, 2940.0] | [17.0, 17.0] | [63, 76] |
p02999 | u140480594 | 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(input().split()))\nif X < A :\n\tprint(0)\nelse :\n\tprint(10)', 'X, A = list(map(int, input().split()))\nif X < A :\n\tprint(0)\nelse :\n\tprint(10)'] | ['Runtime Error', 'Accepted'] | ['s000940396', 's690704867'] | [3064.0, 2940.0] | [17.0, 18.0] | [72, 77] |
p02999 | u140724346 | 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 = [x for x in map(int, input().split())]\naccumL = [sum(L[:x]) <= X for x in range(len(L)+1)]\nif accumL[-1] == True:\n print(N + 1)\nelse:\n print(accumL.index(False))', 'X,A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s195484551', 's023625378'] | [3064.0, 3064.0] | [18.0, 17.0] | [199, 70] |
p02999 | u141610915 | 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. | ['inputa = list(map(int(), input()))\nif inputa[0] < inputa[1]:\n print("0")\nelse:\n print("10")', 'inputa = list(map(int, input().split()))\nif inputa[0] < inputa[1]:\n print("0")\nelse:\n print("10")\n\n'] | ['Runtime Error', 'Accepted'] | ['s726640507', 's999161345'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 101] |
p02999 | u142984055 | 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();\n\nif X<A:\n print(0);\nelif X>=A:\n print(10);', 'X = int(input());\nA = int(input());\n\nif X<A:\n print(0);\nelif X>=A:\n print(10);\n \n\n', 'x = int(input());\na = int(input());\n\nif x>a:\n print(0);\nelse:\n print(10);\n\n', 'X,A = map(input().split());\n\nif X<A:\n print(0);\nelif X>=A:\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s086388383', 's289530581', 's305996282', 's493008955', 's561728871', 's929382511'] | [3188.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [59, 84, 77, 72, 71, 77] |
p02999 | u144203608 | 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'] | ['s861465788', 's310776725'] | [2940.0, 2940.0] | [17.0, 18.0] | [67, 67] |
p02999 | u145600939 | 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,n = 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)\n'] | ['Runtime Error', 'Accepted'] | ['s845643628', 's999530014'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 70] |
p02999 | u148378522 | 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)\n'] | ['Runtime Error', 'Accepted'] | ['s461024336', 's842804047'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 59] |
p02999 | u149470401 | 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):\n d += l[i]\n if d > x:\n a += i\n break\nprint(a)\n', 'n, x = map(int, input().split(" "))\nl = list(map(int, input().split(" ")))\nd,a = 0,1\nfor i in range(n):\n d += l[i]\n if d ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s400128710', 's510828332', 's214520843'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [172, 170, 62] |
p02999 | u152638361 | 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 ==0:\n print(0)\nelse: print(10)', 'X, A = map(int,input().split())\nif A//X ==0:\n print(0)\nelse: print(10)', 'X, A = map(int,input().split())\nprint(int(X>=A)*10)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s278662058', 's411155436', 's949369461'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [71, 73, 51] |
p02999 | u152893557 | 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. | ['alfa=input().split()\nN=int(alfa[0])\nX=int(alfa[1])\n\nL=input().split()\n\n#print(N,X,L)\nD=0\ncount=1\nfor i in range(N):\n D+=int(L[i])\n if D>X:\n print(count)\n break\n else:\n count+=1\n\nif D<X:\n print(count)', 'ini=input().split()\nini=[int(i) for i in ini]\nN=ini[0]\nK=ini[... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s270250400', 's332914152', 's463875319', 's597650847', 's687120508'] | [3064.0, 3064.0, 3060.0, 3060.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0] | [275, 474, 228, 261, 79] |
p02999 | u156383602 | 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().split())\nif a<b:\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', 'Accepted'] | ['s588290787', 's178864532'] | [2940.0, 2940.0] | [17.0, 17.0] | [65, 69] |
p02999 | u159228113 | 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(max([[str(bin(2*i))[2:],j] for i,j in enumerate(map(int,input().split()))],key=lambda k:k[1])[0])', 'print(10) if max([[str(bin(2*i))[2:],j] for i,j in enumerate(reversed(list(map(int,input().split()))))],key=lambda k:k[1])[0]==0 else print(10)', 'print(10) if max([[i,j] for i,j in enumerate(reversed(list(map(i... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s026603669', 's115084747', 's484425331', 's607321320', 's825530787', 's827014401', 's949992247', 's175668978'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [103, 143, 126, 127, 40, 162, 45, 41] |
p02999 | u160861278 | 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())\n\nif N<A: print(1)\nelse: print(0)', 'x, a = map(int, input().split())\n\nif (x >= a): print(10)\nelse: print(0)'] | ['Wrong Answer', 'Accepted'] | ['s317995861', 's265984779'] | [3064.0, 2940.0] | [17.0, 17.0] | [65, 71] |
p02999 | u162612857 | 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(inte, input().split()))\nif x < a:\n print (0)\nelse:\n print(10)', 'x, a = list(map(int, input().split()))\n\nprint(0 if x < a else 10)'] | ['Runtime Error', 'Accepted'] | ['s520772698', 's337272631'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 65] |
p02999 | u165558918 | 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())\nif a > b:\n print(0)\nelse:\n print(10)', "a, b = map(int, input().split(' '))\nif a > b:\n print('0')\nelif a <= b:\n print('10')", "a, b = map(int, input().split(' '))\nif a > b:\n print(0)\nelse:\n print(10)", "a, b = map(int, input().split(' '))\nif a > b:\n print(0)\nelif... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s030048137', 's117348877', 's488622188', 's835329174', 's861707003', 's064769321'] | [3064.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [71, 85, 74, 81, 75, 71] |
p02999 | u169678167 | 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\nN,X = map(int,input().split())\n\nli = list(map(int,input().split()))\t\n\n\nres = 0\ni = 0\nans = 1\nfor i in range(N):\n res += li[i]\n ans += 1\n if res > X:\n ans -= 1\n break\n \nprint(min(ans,N+1))\n ', 'import sys\ninput = sys.stdin.readline\... | ['Runtime Error', 'Accepted'] | ['s307489314', 's745041599'] | [3060.0, 2940.0] | [18.0, 17.0] | [256, 113] |
p02999 | u173243396 | 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()))\nd=0\nfor i in range(n):\n d+=l[i]\n if d>x:\n print(i+1)\n break\nelse:\n print(n+1)', 'x,a=list(map(int,input().split()))\nif x<a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s242616892', 's190813023'] | [3060.0, 2940.0] | [17.0, 17.0] | [154, 71] |
p02999 | u179539980 | 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()]\nprint(10 if x<a else 0)', 'x,a=[int(i) for i in input().split()]\nprint(0 if x<a else 10)'] | ['Wrong Answer', 'Accepted'] | ['s077432504', 's639012066'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 61] |
p02999 | u181215519 | 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'] | ['s310076829', 's322091500'] | [2940.0, 2940.0] | [17.0, 17.0] | [80, 82] |
p02999 | u182139295 | 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\n#a = int(input())\n\nb, c = map(int, input().split())\n\n#s = input()\n\nif b>c:\n\tprint(0)\nelse:\n\tprint(10)\n#print("{} {}".format(a+b+c, s))', '# -*- coding: utf-8 -*-\n\n#a = int(input())\n\nb, c = map(int, input().split())\n\n#s = input()\n\nif b>=c:\n\tprint(0)\nelse:\n\tprint(10)\... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s048523308', 's070644817', 's571463814'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [245, 246, 245] |
p02999 | u183256664 | 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 re\nimport numpy as np\n \nW, H, x, y = [int(i) for i in re.split(" ", input())]\n \nprint(W * H / 2)\n \nif x * 2 == W and y * 2 == H:\n print(1)\nelse:\n print(0)', 'import re\nimport numpy as np\n \nN, K = [int(i) for i in re.split(" ", input())]\nA = [int(i) for i in re.split(" ", input())]\ncount = 0\n... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s807961738', 's911932899', 's934009109'] | [14452.0, 12436.0, 3188.0] | [179.0, 150.0, 19.0] | [164, 273, 96] |
p02999 | u183422236 | 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. | ['cnt = 0\na_sum = []\ni = 0\nl = 0 \nfor i in range(n):\n a_sum.append(a[i])\n l += a(i)\n while l >= k:\n \tl -= a_sum[0]\n cnt += n - i\n a_sum.pop(0)\n \nprint(cnt)', 'x, a = map(int, input().split())\nprint("10") if x >= a else print("0")\n '] | ['Runtime Error', 'Accepted'] | ['s947720715', 's469179594'] | [2940.0, 3316.0] | [19.0, 21.0] | [188, 75] |
p02999 | u184109787 | 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\nN, K = map(int, input().split(" "))\na = list(map(int, input().split(" ")))\na.insert(0, 0)\na_sum = np.tile(np.cumsum(np.array(a, dtype=np.int64)), (N+1, 1))\nprint(np.count_nonzero(a_sum - a_sum.T >= K))\n', 'X, A = input().split(" ")\nprint(0 if X < A else 10)\n'] | ['Runtime Error', 'Accepted'] | ['s600039780', 's174142387'] | [12380.0, 2940.0] | [150.0, 17.0] | [222, 52] |
p02999 | u188827677 | 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\ns = 0\nd = 0\nfor i in range(n):\n d += l[i]\n s += 1\n if d >= x:\n break\nprint(s)', 'x,a = map(int, input().split())\n\nif a <= x: print(10)\nelse: print(0)'] | ['Runtime Error', 'Accepted'] | ['s570474538', 's663771409'] | [2940.0, 9012.0] | [17.0, 29.0] | [152, 68] |
p02999 | u193598069 | 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: print(0)\nelse print()10\n', 'X, A = map(int, input().split())\n\nif X < A: print(0)\nelse: print()10\n', 'X, A = map(int, input().split())\n\nif X < A: print(0)\nelse: print(10)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s017043989', 's496380353', 's726910596'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [68, 69, 68] |
p02999 | u198035503 | 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(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'] | ['s103118801', 's863358212'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 71] |
p02999 | u201234972 | 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\ndef main():\n Q = 10**9+7\n N, M = map( int, input().split())\n S = list( map( int, input().split()))\n T = list( map( int, input().split()))\n dp = [ [0]*(M+1) for _ in range(N+1)]\n memo = [ [0]*(M+1) for _ in range(N+1)]\n for i in range(N):\n for... | ['Runtime Error', 'Accepted'] | ['s501408789', 's577221342'] | [3064.0, 2940.0] | [17.0, 17.0] | [562, 187] |
p02999 | u207799478 | 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 math\nimport string\n\n\ndef readints():\n return list(map(int, input().split()))\n\n\ndef nCr(n, r):\n return math.factorial(n)//math.factorial(n-r)*math.factorial(r)\n\n\nn, x = map(int, input().split())\nl = list(map(int, input().split()))\n#print(l)\nll = [0]\nsum = 0\nfor i in range(n):\n sum += ... | ['Runtime Error', 'Accepted'] | ['s596676331', 's535984607'] | [3828.0, 2940.0] | [24.0, 17.0] | [412, 76] |
p02999 | u208219327 | 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\nelse:\n print("10") \n ', 'X,A=map(int,input().split())\nY=0\nif X<A:\n Y=0\nelse:\n Y=10\n\nprint(Y) \n'] | ['Runtime Error', 'Accepted'] | ['s158818527', 's581042521'] | [2940.0, 3060.0] | [17.0, 19.0] | [85, 82] |
p02999 | u208497224 | 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)', 'x, a = map(int, input().split())\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s379196642', 's480926992', 's780980917'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [74, 73, 75] |
p02999 | u217582166 | 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\nme_x = 0\nme_y = 0\ntotal = W * H\n# (W - x) * H\nif (W - x) > x:\n me_x = x * H\nelse:\n me_x = (W - x) * H\n\nif (H - y) > y:\n me_y = y * W\nelse:\n me_y = (H - y) * W\n\nif me_x > me_y:\n me_ans = me_x\nelse:\n me_ans = me_y\n\nif me_x == (total - me_y):\n a... | ['Runtime Error', 'Accepted'] | ['s629021679', 's579720405'] | [3064.0, 3064.0] | [17.0, 26.0] | [388, 71] |
p02999 | u220345792 | 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())\nA = list(map(int, input().split()))\ncnt = 0\nans = 0\nfor i in A:\n ans += i\n if ans <= X:\n cnt += 1 \nprint(cnt)\n', 'X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s413754878', 's253084987'] | [2940.0, 2940.0] | [17.0, 18.0] | [151, 72] |
p02999 | u227082700 | 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((x>=a)*10)', 'x,a=map(int,input().split())\nif x<a:print(0)\nelse:print(10)'] | ['Runtime Error', 'Accepted'] | ['s610696523', 's326156179'] | [2940.0, 9080.0] | [17.0, 30.0] | [45, 59] |
p02999 | u229452810 | 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')\n", "X, A = map(int, input().split())\n\nif X >= A:\n print('10')\nelse:\n print('0')"] | ['Wrong Answer', 'Accepted'] | ['s904318047', 's856384141'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 81] |
p02999 | u234631479 | 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())\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', 'Accepted'] | ['s844498204', 's246514890'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 71] |
p02999 | u237493274 | 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()))\ncnt = 1\n\nfor i in range(2,n+2):\n if sum(l[:i-1]) <= x:\n cnt += 1\n \nprint(cnt)', 'x,a = map(int, input().split())\n\nif x < a:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Accepted'] | ['s648840455', 's627716742'] | [2940.0, 2940.0] | [17.0, 17.0] | [152, 71] |
p02999 | u243755204 | 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 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)'] | ['Wrong Answer', 'Accepted'] | ['s201169578', 's273155748'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 74] |
p02999 | u245960901 | 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. | ['s = input()\ns = list(s)\nprint(s)\nif s[0] < s[2]:\n print("0")\nelse:\n print(\'1\')', 's = input()\ns = list(s)\nprint(s)\nif s[0] < s[2]:\n print("0")\nelse:\n print(\'10\')', 's = input()\ns = list(s)\nif s[0] < s[2]:\n print("0")\nelse:\n print(\'10\')'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s411393242', 's846870252', 's311754406'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [84, 85, 76] |
p02999 | u248221744 | 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(), input()\nif X < A :\n print(0)\nelse:\n print(10)', 'X,A = map(int, input().split())\nif X < A \nprint(0)\nelse\nprint(10)', 'X,A = map(int,input(),split())\nif X<A print(0)\nelse print(10)', 'X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s187175457', 's572076659', 's573966824', 's365881044'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [62, 65, 61, 71] |
p02999 | u248670151 | 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=list(map(int,input().split()))\nb=list(map(int,input().split()))\nno=0\nfor i in range(0,a[0]):\n if b[i]<=a[1]:\n no+=1 \nprint(no) ', "a=list(map(int,input().split()))\nprint('0' if a[0]<a[1] else'10')"] | ['Runtime Error', 'Accepted'] | ['s960983506', 's447943287'] | [9148.0, 9060.0] | [24.0, 27.0] | [146, 65] |
p02999 | u248670337 | 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(_) for _ in input().split())\nif x >= A:\n print(10)\nelse:\n print(0)', 'X, A = (int(_) for _ in input().split())\nif x >= A:\n print(10)\nelse:\n print(0)', 'X, A = (int(_) for _ in input().split())\nif X >= A:\n print(10)\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s049112712', 's196157798', 's784345839'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [88, 80, 88] |
p02999 | u250362126 | 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. | ["input_line = input()\nl = input().split(' ')\nl = [int(x) for x in l]\n\nif l[0] < l[1]:\n print(0)\nelse:\n print(10)\n", 'N,X = [int(x) for x in input().split()] \nlist_2 = [int(x) for x in input().split()]\n \nsum_list = []\nfor i in list_2:\n if sum(sum_list) < X:\n sum_list.append(i)\n elif sum(sum_... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s166191260', 's251771674', 's334171941', 's383364912', 's726342084', 's782162486'] | [2940.0, 3060.0, 3060.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [114, 357, 118, 399, 113, 121] |
p02999 | u259418313 | 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): print(0)\nelse: print(10)', 'X, A = map(int, input().split())\nif(X < A): print(0)\nelse: print(10)\n\n'] | ['Runtime Error', 'Accepted'] | ['s497287644', 's790806733'] | [2940.0, 3316.0] | [17.0, 21.0] | [68, 70] |
p02999 | u261700262 | 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\narea = (W * H) / 2\ndiv = 0\nif W // 2 == x and H // 2 == y:\n div = 1\n\nprint(area, div)\n', 'X, A = map(int, input().split())\nif X < A:\n print(0)\nelse:\n print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s270256677', 's170155269'] | [2940.0, 2940.0] | [17.0, 17.0] | [129, 76] |
p02999 | u264265458 | 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(input().split())\nprint(0 if a<b else 10)', 'a,b=map(int,input().split())\nprint(0 if a<b else 10)'] | ['Runtime Error', 'Accepted'] | ['s803144093', 's144498582'] | [2940.0, 2940.0] | [18.0, 17.0] | [48, 52] |
p02999 | u264681142 | 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)\nelif a <= x:\n print(10)', 'x, a = map(int, input().split())\n\nif a > x:\n print(0)\nelif a <= x:\n print(10)'] | ['Wrong Answer', 'Accepted'] | ['s565389139', 's519598572'] | [2940.0, 2940.0] | [18.0, 17.0] | [79, 79] |
p02999 | u265118937 | 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("0")\nelse:\n print("10")', 'x,a=map(int,input().split())\nif x>=a :\n print("10")\nelse:\n print("0")'] | ['Runtime Error', 'Accepted'] | ['s706165825', 's810729634'] | [2940.0, 2940.0] | [17.0, 18.0] | [71, 73] |
p02999 | u267222408 | 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)\n'] | ['Runtime Error', 'Accepted'] | ['s823206473', 's529153669'] | [2940.0, 3064.0] | [17.0, 17.0] | [70, 73] |
p02999 | u268516119 | 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()]\nif x<a:print(0)\nelse:print(10)', 'x,a= [int(i) for i in input().split()]\nif x<a:print(0)\nelse:print(10)\n'] | ['Runtime Error', 'Accepted'] | ['s647152792', 's735255581'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 70] |
p02999 | u271447034 | 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. | ['k=[]\nk=list(map(int,input().split())\nif k[0]<k[1]:\n print("0")\nelse:\n print("10")', 'if __name__=="__main__":\n X,A=input().split()\n X=int(X)\n A=int(A)\n if X<A:\n print("0")\n elif X>=A:\n print("10")'] | ['Runtime Error', 'Accepted'] | ['s624371447', 's094442450'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 140] |
p02999 | u274615057 | 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. | ['\ndef main():\n x, a = map(int, input().split())\n if x < 0:\n print(0)\n elif x >= a:\n print(10i)\n \n\nif __name__ == "__main__":\n main()\n', '\ndef main():\n x, a = map(int, input().split())\n if x < a:\n print(0)\n else:\n print(10i)\n \n\nif __name__ == "__... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s082950945', 's212188076', 's347962878'] | [9016.0, 8892.0, 9156.0] | [20.0, 20.0, 27.0] | [161, 153, 152] |
p02999 | u284854859 | 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)\n'] | ['Runtime Error', 'Accepted'] | ['s896034212', 's569691012'] | [2940.0, 2940.0] | [18.0, 17.0] | [68, 68] |
p02999 | u285449045 | 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(input()).split()\n\nif x<a:\n print('10')\nelse:\n print('0')\n ", 'X, A = int(input()).split()\n\nif X > A:\n print 0\nelif !(X<A):\n print 10', "x,a = map(int,input().split())\nif x<a:\n print('0')\nelse:\n print('1... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s594628825', 's890557575', 's894902564', 's486799569'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 16.0] | [71, 72, 72, 75] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.