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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03035 | u031157253 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(int,input().split())\nif a>=13:\nelif a>=6:\n b=b//2\nelse:\n b=0\nprint(b)', 'a,b=map(int,input().split())\nif a>=13:\n b=b\nelif a>=6:\n b=b//2\nelse:\n b=0\nprint(b)'] | ['Runtime Error', 'Accepted'] | ['s055919854', 's752534440'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 85] |
p03035 | u036320012 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a, b = map(int, input().split())\n\nif a <= 5:\n\tres = 0\nelif a >5 & a <= 12:\n\tres = int(b/2)\nelse:\n\tres = b\n\nprint(res)', 'a, b = map(int, input().split())\n\nif a <= 5:\n\tres = 0\nelif a >5 & a <= 12:\n\tres = b/2\nelse:\n\tres = b\n\nprint(res)', 'a, b = map(int, input().split())\n\nif a <= 5:\n\tres = 0... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s560877939', 's600529415', 's893132932'] | [2940.0, 2940.0, 2940.0] | [17.0, 35.0, 17.0] | [117, 112, 120] |
p03035 | u037221289 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["N,M = map(int,input().split(' '))\nleft = float('-inf')\nright = float('inf')\nfor i in range(M):\n L,R = map(int,input().split(' '))\n if left <= L:\n left = L\n if R <= right:\n right = R\n if (right - left) < 0:\n print(0)\n exit()\nprint(right-left+1)", "A,B = map(int,input().split(' '))\nif A >= ... | ['Runtime Error', 'Accepted'] | ['s585218094', 's610491500'] | [3060.0, 3316.0] | [18.0, 21.0] | [259, 109] |
p03035 | u047023156 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = map(int, input().split())\nif A >= 13:\n print(int(B))\nif 6 <= A or A < 12:\n print(int(B/2))\nif A < 6:\n print(0)\n', 'A, B = map(int, input().split())\nif A >= 13:\n print(int(B))\nelif 6 <= A and A < 13:\n print(int(B/2))\nelif A < 6:\n print(0)\n'] | ['Wrong Answer', 'Accepted'] | ['s139622603', 's631586686'] | [2940.0, 2940.0] | [20.0, 17.0] | [127, 132] |
p03035 | u048867491 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["A,B = [int(x) for x in input().split(' ')]\nprint(A,B)\nif A >= 13:\n print(B)\nelif A>=6:\n print(B//2)\nelse:\n print(0)\n", "A,B = [int(x) for x in input().split(' ')]\nif A >= 13:\n print(B)\nelif A>=6:\n print(B//2)\nelse:\n print(0)\n"] | ['Wrong Answer', 'Accepted'] | ['s961618904', 's241391895'] | [2940.0, 2940.0] | [17.0, 17.0] | [125, 114] |
p03035 | u055941944 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['n,m=map(int,input().split())\n\np=[]\nq=[]\n\nfor i in range(m):\n l,r=map(int,input().split())\n p.append(l)\n q.append(r)\n\np1=max(p)\nq1=min(q)\n\nif p1>=q1:\n print(q1-p1+1)\nelse:\n print(0)\n', 'a,b=map(int,input().split())\n\nif a>=13:\n print(b)\nelif 6<=a<=12:\n print(b//2)\nelif a<=5:\... | ['Runtime Error', 'Accepted'] | ['s336870488', 's417243855'] | [2940.0, 3316.0] | [17.0, 21.0] | [196, 110] |
p03035 | u058736438 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a, b =(int, input().split())\nif 13 <= a:\n print(b)\nelif 6 <= a <= 12:\n print(b//2)\nelse:\n print(0)', 'a,b=map(int, input().split())\nif a <= 5:\n print(0)\nelif 6 <= a <= 12:\n print(b//2)\nelse:\n print(b)'] | ['Runtime Error', 'Accepted'] | ['s377726733', 's631242200'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 107] |
p03035 | u061984624 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['from bisect import bisect_right\n\nn, m = list(map(int, input().split()))\na = list(map(int, input().split()))\na.sort()\nbc = [list(map(int, input().split())) for _ in range(m)]\nbc.sort(key=lambda x: x[1], reverse=True)\n\nres = 0\nfin = 0\nfor b, c in bc:\n count = bisect_right(a, c, lo=fin, hi=min(b, len(a))) ... | ['Runtime Error', 'Accepted'] | ['s947334198', 's066860886'] | [3064.0, 2940.0] | [18.0, 17.0] | [408, 110] |
p03035 | u062290034 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['N,M = map(int,input().split())\n\nlistA=[]\nwhile True:\n try:\n listA.append(list(map(int,input().split())))\n except:\n break;\n\ncount = 0\nfor i in range(1,N+1):\n for j in range(M):\n if i < listA[j][0] or listA[j][1] < i:\n print(i)\n break;\n if j == M-1:\n count += 1... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s142577574', 's675629075', 's974167265'] | [3060.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [317, 104, 107] |
p03035 | u063247027 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['x,y,z=input().split()\nx=int(x)\ny=int(y)\nz=int(z)\nfor i in range(10):\n d=x*z-y\n print(d)\n z=d', 'x,y,z=input().split()\nx=int(x)\ny=int(y)\nz=int(z)\nfor i in range(10):\n z=x*z-y\n print(z)\n \n ', 'x,y,z=input().split()\nx=int(x)\ny=int(y)\nz=int(z)\ni=0\nwhile i<10:\n d=x*z*-y\n print(d)\n i+=1', '... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s133184128', 's334375866', 's394182983', 's521675550', 's810893945', 's929227775', 's878110085'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0, 18.0, 17.0, 18.0, 17.0] | [95, 95, 93, 95, 95, 95, 117] |
p03035 | u063346608 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B = map(int,input().split())\n\nif 6 <= A <= 12 :\n\tamswer = B / 2\nelif A <=5 :\n\tanswer = 0\nelse:\nanswer = B\n\nprint(answer)', 'A,B = map(int,input().split())\n\nif 6 <= A <=12 :\n\tanswer = B / 2\nelif A <=5 :\n\tanswer = 0\nelse:\n\tanswer = B\n\nprint(int(answer))'] | ['Runtime Error', 'Accepted'] | ['s306432755', 's720442015'] | [2940.0, 2940.0] | [17.0, 17.0] | [122, 127] |
p03035 | u065599736 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['N, M = map(int, input().split())\na = list(map(int, input().split()))\nfor i in range(M):\n B, C = map(int, input().split())\n if C > a[-1]:\n a += [C for _ in range(B)]\n a.sort(reverse=True)\n a = a[:N]\nprint(sum(a))', 'A, B = map(int, input().split())\nif A >= 13:\n print(B)\nelif 6 ... | ['Runtime Error', 'Accepted'] | ['s375267351', 's062913448'] | [3060.0, 2940.0] | [18.0, 17.0] | [238, 110] |
p03035 | u076996519 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b = map(int,input().split())\nif a>=13:\n\tprint(b)\nelif a>=6:\n\tprint(int(b/2)\nelse:\n\tprint(0)', 'a,b = map(int,input().split())\nif a>=13:\n\tprint(b)\nelif a>=6:\n\tprint(int(b/2))\nelse:\n\tprint(0)'] | ['Runtime Error', 'Accepted'] | ['s909190556', 's431573893'] | [2940.0, 3316.0] | [17.0, 20.0] | [93, 94] |
p03035 | u089142196 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B=map(int, input().split())\n\nif A<=5:\n ans=0\nelif A>=13:\n ans=B/2\nelse:\n ans=B\nprint(int(ans))', 'A,B=map(int, input().split())\n\nif A<=5:\n ans=0\nelif A>=13:\n ans=B\nelse:\n ans=B/2\nprint(int(ans))'] | ['Wrong Answer', 'Accepted'] | ['s823686741', 's741977465'] | [2940.0, 2940.0] | [17.0, 17.0] | [105, 105] |
p03035 | u089230684 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a = int(input())\nb = int(input())\nif 0 <= a and a <= 5:\n print(0)\nif 6 <= a and a <= 12:\n print(b//2)\nif 16 <= a and a <= 100:\n print(b)', 'age = int(input())\nprice = int(input())\nif age >= 13:\n print(age, price)\nelif age >= 6 and age <= 12:\n print(price // 2)\nelse:\n print(0)', 'age ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s033240231', 's470520232', 's734868247', 's900107976', 's874409684'] | [2940.0, 2940.0, 2940.0, 2940.0, 9052.0] | [17.0, 17.0, 17.0, 17.0, 31.0] | [147, 145, 132, 138, 100] |
p03035 | u095756391 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['from fractions import *\nimport sys\nN, M = map(int, input().split())\n\na = list(map(int, input().split()))\n\na = sorted(a)\nbc = [list(map(int, sys.stdin.readline().split())) for _ in range(M)]\n\nbc = sorted(bc) \n\nsubar = a\nfor i in bc:\n sc = [i[1]] * i[0]\n suba = []\n ra = subar[i[0]:]\n if i... | ['Runtime Error', 'Accepted'] | ['s024303806', 's945133377'] | [5060.0, 5688.0] | [36.0, 49.0] | [463, 146] |
p03035 | u095814925 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a = (int)input()\nb = (int)input()\n\nif a >= 13:\n print(b)\nelif a >= 6 && a <= 12:\n print(b/2)\nelse:\n print(0)\n \n', 'a = int(input())\nb = int(input())\n \nif a >= 13:\n print(b)\nelif a >= 6 && a <= 12:\n print(b/2)\nelse:\n print(0)', 'a, b = map(int, input().split())\n \nif a >= 13:\n print(b)\ne... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s014557988', 's224977228', 's267650737', 's340087832', 's385031804', 's457103607', 's517084095', 's774636806', 's808114974', 's916325192', 's922778947', 's987681922', 's545372069'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [117, 112, 105, 105, 118, 113, 115, 115, 101, 118, 119, 106, 117] |
p03035 | u096025032 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B = map(int,input().split())\nif A >= 5:\n print("0")\nelif 6 <= A <= 12:\n print(int(B/2))\nelse:\n print(B)', 'A,B = map(int,input().split())\nif A <= 5:\n print("0")\nelif 6 <= A <= 12:\n print(int(B/2))\nelse:\n print(B)\n'] | ['Wrong Answer', 'Accepted'] | ['s776338584', 's477504430'] | [9156.0, 9108.0] | [24.0, 28.0] | [108, 109] |
p03035 | u097121858 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['N, M = map(int, input().split())\nA = sorted(list(map(int, input().split())))\nBC = [None] * M\nfor i in range(M):\n BC[i] = tuple(map(int, input().split()))\nBC.sort(key=lambda tpl: tpl[1], reverse=True) # sort by C descendant\n\nD = [0] * N\ni = 0\nj = 0\nwhile i < N and j < M:\n b, c = BC[j]\n for k in r... | ['Runtime Error', 'Accepted'] | ['s181968958', 's714170477'] | [3064.0, 2940.0] | [18.0, 17.0] | [431, 161] |
p03035 | u098982053 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['if Age>=13:\n print(Fee)\nelif Age<13 and Age>=6:\n print(Fee//2)\nelse:\n print(0)\n', 'Age, Fee = map(int,input().split(" "))\nif Age>=13:\n print(Fee)\nelif Age<13 and Age>=6:\n print(Fee//2)\nelse:\n print(0)\n'] | ['Runtime Error', 'Accepted'] | ['s657029360', 's683067614'] | [2940.0, 2940.0] | [18.0, 19.0] | [82, 121] |
p03035 | u101371735 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['import sys \n \nA, B = map(int, input().split())\ncond_older = (13 > A)\ncond_young = (6 <= A) & (13 >= A)\n \nans = (\n B if cond_older else\n B//2 if cond_young else\n 0\n)\n \nprint(ans)', 'import sys \n\nA, B = int(input()).split()\ncond_older = (13 > A)\ncond_young = (6 <= A) & (13 >= A)\n\nans = (\n B if co... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s070294861', 's750870831', 's721224496'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [180, 172, 180] |
p03035 | u102367647 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['\n\nfrom sys import stdin\n\ninput = stdin.readline\n\nN, M = list(map(int, input().split()))\n\nL = []\nR = []\n\nfor i in range(M):\n l, r = input().split()\n L.append(int(l))\n R.append(int(r))\n\nmaxL = max(L)\nminR = min(R)\n\n\nif maxL <= N and maxL <= minR:\n if N >= minR:\n print(minR-maxL+... | ['Runtime Error', 'Accepted'] | ['s703478086', 's062111773'] | [3064.0, 2940.0] | [18.0, 17.0] | [370, 170] |
p03035 | u102960641 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a = [0] * (10 ** 9)', 'a,b = map(int, input().split())\nif a >= 13:\n print(b)\nelif 6 <= a <= 12:\n print(b//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s562176281', 's214504318'] | [3060.0, 2940.0] | [17.0, 18.0] | [19, 104] |
p03035 | u103305058 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b = map(int,input().split())\n if a >=13:\n print(b)\n elif a <= 5:\n print(0)\n else:\n print(b // 2)', 'a,b = map(int,input().split())\nif a >=13:\n print(b)\nelif a <= 5:\n print(0)\nelse:\n print(b // 2)'] | ['Runtime Error', 'Accepted'] | ['s766819828', 's815636807'] | [2940.0, 2940.0] | [17.0, 17.0] | [128, 108] |
p03035 | u106103668 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b = map(int,input().split())\nif a>13:\n print(b)\n elif a>6:\n print(b//2)\n else:\n print(0)', 'a,b = map(int,input().split())\nif a>=13:\n print(b)\nelif a>=6:\n print(b//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s090581041', 's204500955'] | [2940.0, 2940.0] | [17.0, 17.0] | [103, 99] |
p03035 | u106181248 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a, b = map(int,input().split())\n\nif b > 12:\n print(b)\nelif: b > 5:\n print(int(b/2))\nelse:\n print(0)', 'a, b = map(int,input().split())\n \nif a > 12:\n print(b)\nelif a > 5:\n print(int(b/2))\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s214473306', 's121045776'] | [2940.0, 2940.0] | [18.0, 17.0] | [102, 102] |
p03035 | u106311097 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(int,input().split())\nif a >= 13:\n pria,b=map("int",input().split())\nif a >= 13:\n print(b)\nelif a >= 6:\n print(b / 2)\nelse:\n print(0)', "# -*- coding: utf-8 -*-\n# abc127/abc127_d\nimport sys\nfrom operator import itemgetter\n\ns2nn = lambda s: [int(c) for c in s.split(' ')]\nss2nn = lambda ss: [in... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s219420395', 's498694488', 's715282196', 's000472284'] | [2940.0, 3064.0, 3064.0, 3064.0] | [17.0, 19.0, 18.0, 18.0] | [144, 852, 664, 547] |
p03035 | u107335648 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['\nif 6<=a<=13:\n\n print(int(b/2))\n\nelif 0<=a<=5:\n print(0)\n\nelif 13<=a<=100:\n print(b)\n\n\n', 'a,b=(int(x) for x in input().split())\n\n\nif b%2==0 and 2<=b<=1000:\n \n if 0<=a<=5:\n \n print(0)\n \n elif 6<=a<=12:\n \n print(int(b/2))\n \n elif 13<=a<=100:\n \n print(b)\n'] | ['Runtime Error', 'Accepted'] | ['s381493470', 's064339997'] | [2940.0, 2940.0] | [17.0, 19.0] | [96, 188] |
p03035 | u108377418 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['def main():\n N, M = map(int, input().split())\n A = [int(x) for x in input().split()]\n for m in range(0, M):\n tmp = [int(x) for x in input().split()]\n A.extend([tmp[1]] * tmp[0])\n\n A = A.sort(A, reverse = True)\n sum_a = 0\n for i in range(0, N):\n sum_a += A[i]\n\n pri... | ['Runtime Error', 'Accepted'] | ['s698782466', 's473300688'] | [3064.0, 2940.0] | [17.0, 18.0] | [356, 216] |
p03035 | u110619679 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["\nif __name__ == '__main__':\n n,m = list(map(int, input().split()))\n a = list(map(int, input().split()))\n bc = []\n for i in range(m):\n bc.append(list(map(int, input().split())))\n\n bc.sort(key=lambda x: x[1], reverse=True)\n a.sort()\n\n bcn = 0\n for i in range(n):\n if(a[... | ['Runtime Error', 'Accepted'] | ['s809567743', 's365107468'] | [3064.0, 2940.0] | [17.0, 17.0] | [514, 171] |
p03035 | u113971909 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B=map(int,input().split())\nif A<=5:\n ret=0\nelif A>=13:\n ret=B\nelse:\n ret=B/2', 'A,B=map(int,input().split())\nif A<=5:\n ret=0\nelif A>=13:\n ret=B\nelse:\n ret=B//2\nprint(ret)\n'] | ['Wrong Answer', 'Accepted'] | ['s209837500', 's446501403'] | [2940.0, 2940.0] | [19.0, 17.0] | [81, 94] |
p03035 | u124063060 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B =int(input().split())\n\nif A >= 13:\n print(B)\nelif A >= 6:\n print(B//2)\nelse:\n print(0)', 'A, B = map(int, input().split())\n\nif A >= 13:\n print(B)\nelif A >= 6:\n print(B//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s694019435', 's059534755'] | [2940.0, 2940.0] | [17.0, 20.0] | [100, 106] |
p03035 | u125080669 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['import sys\n\nA = sys.argv[1]\nB = sys.argv[2]\n\nif A <= 5:\n print(0)\nelif A <= 12:\n print(int(B/2))\nelse:\n print(B)\n ', 'import sys\ninp = list(map(int,input().split()))\nA, B = inp[0], inp[1]\nif A <= 5:\n print(0)\nelif A <= 12:\n print(int(B/2))\nelse:\n print(B)'] | ['Runtime Error', 'Accepted'] | ['s069471755', 's508887236'] | [2940.0, 3060.0] | [17.0, 17.0] | [118, 140] |
p03035 | u125205981 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['#include <bits/stdc++.h>\nusing namespace std;\n\n#define ALL(a) (a).begin(), (a).end()\ntypedef long long unsigned int ll;\nconst long mod = 1e9 + 7;\n\nint main(void) {\n#ifdef DEBUG\n freopen("input.txt", "r", stdin);\n#endif\n\n ios_base::sync_with_stdio(false);\n cin.tie(0);\n\n int A, B;\n cin >> A >> B;\n... | ['Runtime Error', 'Accepted'] | ['s123828150', 's032304618'] | [2940.0, 2940.0] | [17.0, 17.0] | [486, 218] |
p03035 | u127499732 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(it,input().split())\np=0\nif a>=13:\n p=b\nelif a<=5:\n p=0\nelse:\n p=b//2\nprint(p)', 'a,b=map(int,input().split())\np=0\nif a>=13:\n p=b\nelif a<=5:\n p=0\nelse:\n p=b//2\nprint(p)'] | ['Runtime Error', 'Accepted'] | ['s845781702', 's114579788'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 89] |
p03035 | u131411061 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B = map(int,input())\n\nif(A>=13):\n print(B)\nelif(6<=A<=12):\n print(B//2)\nelse:\n print(0)', 'A,B = map(int,input().split())\n\nif(A>=13):\n print(B)\nelif(6<=A<=12):\n print(B//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s977082361', 's042577726'] | [3188.0, 2940.0] | [19.0, 18.0] | [98, 106] |
p03035 | u133356863 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(int,input().split())\nif a>=13:\n print(b)\nif a>=6:\n print(b//2)\nelse:\n print(0)', 'a,b=map(int,input().split())\nif a>=13:\n print(b)\nelif a>=6:\n print(b//2)\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s725815469', 's426086774'] | [2940.0, 2940.0] | [17.0, 17.0] | [95, 97] |
p03035 | u134856634 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['# -*- coding: utf-8 -*-\nimport sys;\nsys.setrecursionlimit(20000) \n\n\n#n = int(input())\n\n\na = [x for x in map(int, input().split())]\n\n\n\n#a = []\n#for x in range(n):\n# a.append(int(input()))\n\n\n#s = input()\n\n\n#print("{} {}".format(a+b+c, s))\n#a.sort()\n#print(set(a), file=sys.stderr)\n#print(len(set(... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s188003859', 's249250428', 's576079464', 's174616089'] | [3064.0, 3060.0, 3064.0, 3064.0] | [17.0, 17.0, 18.0, 17.0] | [918, 917, 925, 929] |
p03035 | u138253748 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=list(map(int,input().split(" ")))\nif a>=13:\n pass\nelif a>=6:\n b=b//2\nelse\n b=0\n \nprint(b)\n ', 'a,b=list(map(int,input().split(" ")))\nif b>=13:\n pass\nelif b>=6:\n b=b//2\nelse\n b=0\n \nprint(b)\n ', 'a,b=list(map(int,input().split(" ")))\nif a>=13:\n pass\nelif a>=6:\n b=b//2\nelse:\n b=0\n... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s296544056', 's984579585', 's284795301'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0] | [99, 99, 100] |
p03035 | u138781768 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a, b = map(int, input().split())\nif a <= 5:\n ans = 0\nelif a <= 12:\n ans = a / 2\nelse:\n ans = a\nprint(a)', 'a, b = map(int, input().split())\nif a <= 5:\n ans = 0\nelif a <= 12:\n ans = b // 2\nelse:\n ans = b\nprint(a)', 'a, b = map(int, input().split())\nif a <= 5:\n ans = 0\nelif a <= 12... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s412879496', 's893048155', 's913847562', 's933129320', 's797134732'] | [2940.0, 2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0] | [112, 113, 113, 1221, 115] |
p03035 | u141410514 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B = map(int,input().split())\nif A>=13 :\n print(B)\nelif A >=6 and A<=12:\n print(B//2)\n else:\n print(0)', 'A,B = map(int,input().split())\nif A>=13 :\n print(B)\nelif A >=6 and A<=12:\n print(B//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s642408817', 's486562117'] | [2940.0, 3060.0] | [17.0, 17.0] | [106, 105] |
p03035 | u145600939 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b = map(int,input.split())\nif a >= 13:\n print(b)\nelif 6<=a<=12:print(b//2)\nelse:print(0)', 'a,b = map(int,input().split())\nif a >= 13: print(b)\nelif 6 <= a:print(b//2)\nelse:print(0)\n'] | ['Runtime Error', 'Accepted'] | ['s939575924', 's929870540'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 90] |
p03035 | u151015483 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A = int(input())\nB = int(input())\nif A>12:\n print(B)\nelif 13>A>5:\n print(B//2)\nelse:\n print(0)', 'A = int(input())\nB = int(input())\nif B%2==0:\n\n if A>12:\n print(B)\n elif 13>A>5:\n print(round(B/2))\n else:\n print(0)\n', 'A = int(input())\nB = int(input())\nif A>12:... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s154010320', 's617480585', 's738203363', 's957914491', 's610593495'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0] | [103, 146, 110, 110, 55] |
p03035 | u156302018 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['inputstr1 = input().split()\nprint(inputstr1[0],inputstr1[1])\nage = int(inputstr1[0])\nb = int(inputstr1[1])\n\nif 0 <= age <= 5:\n cost = 0\nelif 6 <= age <= 12:\n cost = b / 2\nelse:\n cost = b\n\nprint(int(cost))', 'age, b = map(int, input().split())\ncost = (0 if 0 <= age <= 5 else\n b / 2 if 6 <... | ['Wrong Answer', 'Accepted'] | ['s511065582', 's009897347'] | [3060.0, 2940.0] | [17.0, 17.0] | [213, 132] |
p03035 | u162163680 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['age = int(input())\nfee = int(input())\n\nif age <= 6:\n print(0)\nelif 6 <= age and age <= 12:\n print(fee/2)\nelif 13 <= age:\n print(fee)', 'N, M = map(int, input().split())\nLR_list = [list(map(int, input().split())) for _ in range(0, M)]\n\nnum_card = 0\n\nfor i in range(0, N):\n for j in range(0, M-... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s108195330', 's948338265', 's387896531'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [141, 290, 144] |
p03035 | u163313981 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["age, price = (int(x) for x in input().split(' '))\n\nif age <= 5:\n print('0')\nelif age >= 6 & age <= 12:\n print(f'{price // 2}')\nelse:\n print(f'{price}')\n", "age, price = (int(x) for x in input().split(' '))\n\nif age <= 5:\n print('0')\nelif age >= 6 & age <= 12:\n print('{}'.format(price // 2))... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s687809320', 's691995578', 's846491486'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [161, 177, 171] |
p03035 | u164474813 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['n, m = map(int, input().split())\nA = sorted(list(map(int, input().split())))\nfor i in range(m):\n b, c = map(int, input().split())\n for j in range(b):\n A[j] = max(A[j], c)\n A = sorted(A)\nprint(sum(A))', 'a, b = map(int, input().split())\nif a <= 5:\n print(0)\nelif 6 <= a <= 12:\n print(in... | ['Runtime Error', 'Accepted'] | ['s383408220', 's460640645'] | [3060.0, 3064.0] | [17.0, 17.0] | [215, 116] |
p03035 | u174273188 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['def solve():\n a, b= map(int, input().split())\n if a > 12:\n return b\n elif 6 <= a <= 12:\n return b // 2\n else\n return 0\n \n\n\nif __name__ == "__main__":\n print(solve())\n', 'def solve():\n a, b = map(int, input().split())\n if a > 12:\n return b\n el... | ['Runtime Error', 'Accepted'] | ['s827598610', 's632183890'] | [2940.0, 2940.0] | [17.0, 17.0] | [209, 202] |
p03035 | u175590965 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['if a >= 13:\n print(b)\nelif a >= 6 and a <= 12:\n print(b//2)\nelse:\n print(0)', 'a,b = map(int,input().split())\nif 13 <= a:\n print(b)\nelif 6 <= a <= 12:\n print(b//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s578224093', 's675655461'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 109] |
p03035 | u175746978 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a, b = map(int, input().split())\nif a >= 13:\n print(b)\nelif 12 => a >= 6:\n print(b / 2)\nelif: 5 >= a:\n print(0)', 'a, b = map(int, input().split())\nif a >= 13:\n print(b)\nelif 13 > a > 5:\n print(b // 2)\nelif 5 >= a:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s819337515', 's549912484'] | [2940.0, 2940.0] | [18.0, 17.0] | [120, 118] |
p03035 | u181367828 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['r, d, x = (int(i) for i in input().split())\n\nfor i in range(10):\n x = r * x - d\n print(x)\n\n', 'a, b = (int(i) for i in input().split())\nres =0\nif a>=13 :\n res = b\nelif a<=5:\n res = 0\nelse:\n res = int(b/2)\nprint(res)'] | ['Runtime Error', 'Accepted'] | ['s493753820', 's802109961'] | [2940.0, 3060.0] | [17.0, 17.0] | [93, 123] |
p03035 | u183200783 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = map(int, input().split())\n\nprice = 0\nif A >= 13: \n B \nelif A >= 6 and A <= 12: \n B/2 \nelse:\n 0', 'A, B = map(int, input().split())\n\nprice = 0\nif A >= 13: \n price =B \nelif A >= 6 and A <= 12: \n price = int(B/2)\nelse:\n price =0\n\nprint(price)'] | ['Wrong Answer', 'Accepted'] | ['s915292928', 's733696029'] | [2940.0, 2940.0] | [17.0, 17.0] | [111, 150] |
p03035 | u184817817 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['s = list(map(int,input().split()))\ndef f(s):\n if s[0] >= 13:\n return s[1]\n elif s[0] >= 6:\n return int(s[1]/2)\n else:\n return 0\nf(s)', 's = list(map(int,input().split()))\n\nif s[0] >= 13:\n print(s[1])\nelif s[0] >= 6:\n print(int(s[1]/2))\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s406403002', 's803629456'] | [2940.0, 2940.0] | [17.0, 17.0] | [162, 124] |
p03035 | u185966380 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = map(int, input.split())\nif A>=13:\n print(B)\nelif 6<=A<=12:\n print(B//2)\nelse:\n print(0)', 'A, B = map(int, input().split())\nif A>=13:\n print(B)\nelif 6<=A<=12:\n print(B//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s659554072', 's200705402'] | [2940.0, 3060.0] | [17.0, 17.0] | [97, 99] |
p03035 | u190178779 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['import sys\nA,B = map(int,input().split())\nif not ( 0 <= A <= 100 ): sys.exit()\nif not ( 2 <= B <= 1000 ): sys.exit()\nif not ( B % 2 == 0 ): sys.exit()\n\nif A <= 5: print(0)\nif 6 <= A <= 12: print(B//2)\nif A >= 13: print(A)\n ', 'import sys\nA,B = map(int,input().split())\nif not ( 0 <= A <= 100 ): sys.exit()\n... | ['Wrong Answer', 'Accepted'] | ['s453362970', 's249126846'] | [9012.0, 9080.0] | [27.0, 24.0] | [223, 223] |
p03035 | u190873802 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B=map(int, input().split())\nif A<5:\n print(0)\nelif A<12:\n print(B/2)\nelse:\n print(B\n\n\n\n\n\n', 'A,B=map(int, input().split())\nif A<=5:\n print(0)\nelif A<=12:\n print(int(B/2))\nelse:\n print(B)\n\n\n\n\n\n'] | ['Runtime Error', 'Accepted'] | ['s633103380', 's953403219'] | [2940.0, 2940.0] | [17.0, 18.0] | [100, 108] |
p03035 | u194894739 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = map(int,input().split())\nprint(B if A >= 13)\nprint(0 if A <= 5 else b//2)\n', 'A, B = map(int,input().split())\nif A >= 13:\n print(B)\nelif A <= 5:\n print(0)\nelse:\n print(B//2)\n'] | ['Runtime Error', 'Accepted'] | ['s699490004', 's774155976'] | [2940.0, 3064.0] | [17.0, 17.0] | [81, 105] |
p03035 | u196697332 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['N, M = map(int, input().split())\nL = [0] * M\nR = [0] * M\nfor i in range(M):\n L[i], R[i] = map(int, input().split())\n\nall_lists = [list(range(L[i], R[i] + 1)) for i in range(M)]\n\nnew_set = set(all_lists[0])\nfor i in range(len(all_lists) - 1):\n if len(new_set) == 0:\n break\n new_set = new_set... | ['Runtime Error', 'Accepted'] | ['s399142144', 's560916012'] | [3064.0, 2940.0] | [18.0, 17.0] | [351, 137] |
p03035 | u197300773 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['import bisect\nimport heapq \n\nQ=int(input())\n\nque=list(map(int,input().split()))\nb=que[2]\na=[que[1]]\nl,r=[-que[1]],[que[1]]\nheapq.heapify(l)\nheapq.heapify(r)\nmin=0\nj=1\ntmp=que[1]\nfor i in range(Q-1):\n que=list(map(int,input().split()))\n if que[0]==1:\n j+=1\n q1=que[1]\n b+=q... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s227880845', 's632270291', 's077902362'] | [3064.0, 3064.0, 2940.0] | [18.0, 18.0, 17.0] | [806, 767, 84] |
p03035 | u200527996 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['#1226\nA, B = map(int, input().split())\nprint(B if A > 12 else B/2 if A > 5 0)', 'N, M = map(int, input().split())\nL = 0\nR = 0\nfor _ in range(M):\n inp = input().split()\n l = int(inp[0])\n r = int(inp[1])\n L = max(L,l)\n R = min(R,r)\nprint(max(0,min(R,N) + 1 - L))', '#1226\nimport math\nA, B = m... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s250824051', 's977975020', 's439320554'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [77, 194, 106] |
p03035 | u204208382 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['n,m = map(int,input().split())\ncards = []\nfor i in range(m):\n cards.append(list(map(int,input().split())))\n\nmin = cards[0][0]\nmax = cards[0][1]\n\nfor i in range(m):\n if cards[i][0] > min:\n min = cards[i][0]\n if cards[i][1] < max:\n max = cards[i][1]\n\nif max >= min:\n print(max - ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s045730839', 's520849833', 's613426314', 's528515409'] | [3064.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 16.0] | [330, 115, 110, 116] |
p03035 | u204842730 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['# coding: utf-8\nx,y = map(int, input().split())\nif x <= 5:\n print(0)\nelif x <=12:\n print(y/2)\nelse:\n print(x)', '# coding: utf-8\nx,y = map(int, input().split())\nif x <= 5:\n print(0)\nelif x <=12:\n print(round(y/2))\nelse:\n print(y)'] | ['Wrong Answer', 'Accepted'] | ['s306787270', 's107073747'] | [2940.0, 2940.0] | [17.0, 17.0] | [118, 125] |
p03035 | u207391881 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(int, input().split())\nif a>=13:\n\tprint(b)\nelif a>=6:\n\tprint int(b/2)\nelse:\n\tprint(0)', 'a,b=map(int, input().split())\nif a>=13:\n\tprint(b)\nelif a>=6:\n\tprint(int(b/2))\nelse:\n\tprint(0)'] | ['Runtime Error', 'Accepted'] | ['s304355514', 's903443443'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 93] |
p03035 | u207576418 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b = map(int,inpu().split())\n\nans = 0\nif a < = 5:\n ans = 0\nelif a < = 12:\n ans = b/2\nelse :\n ans = b\nprint(ans)\n', 'a,b = map(int,input().split())\n\nans = 0\nif a <= 5:\n ans = 0\nelif a <= 12:\n ans = b/2\nelse :\n ans = b\nprint(int(ans))\n'] | ['Runtime Error', 'Accepted'] | ['s003450143', 's832818105'] | [2940.0, 2940.0] | [17.0, 17.0] | [122, 126] |
p03035 | u215132812 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b = input().split()\n\nif a > 12:\n print(b)\nelif a > 5:\n print(b/2)\nelse:\n print(0)', 'a = input().split()\n\nif a[0] > 12:\n print(a[1])\nelse if a[0] > 6:\n print(a[1]/2)\nelse:\n print(0)', 'a,b = map(int, input().split())\n \nif a > 12:\n print(b)\nelif a >5:\n print(int(b/2))\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s125970487', 's580786921', 's900995534'] | [2940.0, 3188.0, 2940.0] | [17.0, 17.0, 18.0] | [86, 99, 101] |
p03035 | u221041683 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["n,m = map(int,input().split())\nlm = list(map(int,input().split()))\nln = []\nfor _ in range(m):\n ln.append(list(map(int,input().split())))\nfor a in range(m):\n for b in range(ln[a][0]):\n if ln[a][1] > min(lm) :\n c = min(lm)\n lm[lm.index(c)] = ln[a][1] \n print('aa')\nprin... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s243196833', 's885439928', 's584571669'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [317, 140, 114] |
p03035 | u222668979 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a, b = map(int, input().split())\nprint((0 if a<=5 else a//2) if a<=12 else a)', 'a, b = map(int, input().split())\n\nprint((0 if a <= 5 else b // 2) if a <= 12 else b)\n'] | ['Wrong Answer', 'Accepted'] | ['s193307156', 's629295951'] | [9092.0, 9020.0] | [23.0, 21.0] | [77, 85] |
p03035 | u225642513 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B = map(int, input().split())\nif a>= 13:\n print(B)\nelif a>=6:\n print(B//2)\nelse:\n print(0)', 'A,B = map(int, input().split())\nif A>= 13:\n print(B)\nelif A>=6:\n print(B//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s646516400', 's708926162'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 101] |
p03035 | u235837041 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['if a >= 13:\n print(b)\nelif 12 >= a >= 6:\n print(int(b/2))\nelse:\n print(0)', 'a,b = map(int,input().split())\nif b%2 ==0 :\n if a >= 13:\n print(b)\n elif 12 >= a >= 6:\n print(int(b/2))\n else:\n print(0)\nelse:\n pass\n'] | ['Runtime Error', 'Accepted'] | ['s280635679', 's686339102'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 166] |
p03035 | u238084414 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = map(int, input())\n\nif A >= 13:\n print(B)\nelif 13 > A >= 6:\n print(B//2)\nelse:\n print(0)', 'A, B = map(int, input().split())\n\nif A >= 13:\n print(B)\nelif 13 > A >= 6:\n print(B//2)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s750327818', 's118890417'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 105] |
p03035 | u238801602 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A = int(input())\nB = int(input())\n\nif A >= 13:\n print(B)\nelif A <= 5:\n print(0)\nelse:\n print(B/2)', 's = input().split()\nA = int(s[0])\nB = int(s[1])\n\nif A >= 13:\n print(B)\nelif A <= 5:\n print(0)\nelse:\n print(int(B/2))'] | ['Runtime Error', 'Accepted'] | ['s089140532', 's937939234'] | [3060.0, 3060.0] | [17.0, 17.0] | [106, 125] |
p03035 | u239528020 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['import numpy as np\nN, M = map(int, input().split())\n\nkey = np.zeros(N)\nfor i in range(0, M):\n L, R = map(int, input().split())\n for j in range(L, R+1):\n key[j-1]+=1\n\nprint(np.sum(key==M))', '#!/usr/bin/env python3\n\na, b = list(map(int, input().split()))\n\nif a >= 13:\n print(b)\nelif a >= ... | ['Runtime Error', 'Accepted'] | ['s871455384', 's548370141'] | [12396.0, 2940.0] | [155.0, 17.0] | [200, 137] |
p03035 | u241026150 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a=input()\nb=input()\na=int(a)\nb=int(b)\nif 0<=a<6:\n b=0\nelif 6<=a<13:\n b=b//2\nelse:\n b=b\nprint(b)', 'a=input()\nb=input()\na=int(a)\nif 0<=a<6:\n b=0\nelif 6<=a<13:\n b=b/2\nelse:\n b=b\nb=int(b)\nprint(b)', 'a,b = map(int,input().split())\nif 0<=a<6:\n b=0\nelif 6<=a<13:\n b=b//2\nelse:\n b=b\nprint... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s140234116', 's524691129', 's171378348'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0] | [98, 97, 91] |
p03035 | u242031676 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(int,input().split());print((a>5)*b/-~(a<13))', 'a,b=map(int,input().split());print((a>5)*b//-~(a<13))'] | ['Wrong Answer', 'Accepted'] | ['s806954125', 's290999155'] | [2940.0, 2940.0] | [18.0, 17.0] | [52, 53] |
p03035 | u243312682 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["def main():\n a, b = map(int, input().split())\n if a >= 13:\n print(b)\n elif a >= 6:\n print(int(b/2))\n else:\n print(0)\nif __name__ == '__main__':\n main(", "def main():\n a, b = map(int, input().split())\n if a >= 13:\n print(b)\n elif a >= 6:\n print(i... | ['Runtime Error', 'Accepted'] | ['s113533664', 's692969805'] | [2940.0, 2940.0] | [17.0, 18.0] | [186, 187] |
p03035 | u243549769 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = map(int, input().split())\nif A >== 13:\n print(B)\nelif A <== 5:\n print(0)\nelse:\n print(B/2)', 'A, B = map(int, input().split())\nif A >= 13:\n print(B)\nelif A <= 5:\n print(0)\nelse:\n print(int(B/2))'] | ['Runtime Error', 'Accepted'] | ['s962653888', 's405956294'] | [2940.0, 2940.0] | [17.0, 17.0] | [107, 110] |
p03035 | u244118793 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['\na,b = map(int, input().split())\n\nif a<=5:\n ans = 0\nelif 6<=a and a<=12:\n ans = b/2\nelse:\n ans = b\n\nprint((int)ans)\n\n\n', 'r,d,x0 = map(int,input().split())\n\nxlist = []\n\nxlist.append(r*x0-d)\n\nfor i in range(9):\n xlist.append(r*xlist[i]-d)\n map(int,xlist)\n print(xlist[i])\n\n\n',... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s364561527', 's553091282', 's777829136', 's714786660'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [127, 160, 146, 127] |
p03035 | u244836567 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=input().split()\na=int(a)\nb=int(b)\nif a>=12:\n print(b)\nif 6<=a<12:\n print(b/2)\nelse:\n print("0")', 'a,b=input().split()\na=int(a)\nb=int(b)\nif a>=12:\n print(b)\nif 6<=a<12:\n print(int(b/2))\nelse:\n print("0")', 'a,b=input().split()\na=int(a)\nb=int(b)\nif a>=13:\n print(b)\nif 6<=a<13:\n print(... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s051306087', 's495544682', 's094917719'] | [9132.0, 9064.0, 9036.0] | [30.0, 27.0, 26.0] | [102, 107, 109] |
p03035 | u248670151 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["a,b= list(map(int, input().split()))\nif a>13:\n print(b)\nif a>6<12:\n print(b/2)\nif a<5:\n print('0')\n", "a,b= list(map(int, input().split()))\nif a>=13:\n print(b)\nif a>=6 and a<=12:\n print(int(b/2))\nif a<=5:\n print('0')\n"] | ['Wrong Answer', 'Accepted'] | ['s713904493', 's655627385'] | [9016.0, 9028.0] | [26.0, 24.0] | [108, 123] |
p03035 | u251075661 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['N, M = list(map(int, input().split()))\n\nAs = list(map(int, input().split()))\nAs.sort()\n\nBCs = []\nfor _ in range(M):\n b, c = tuple(map(int, input().split()))\n BCs.append((b, c))\nBCs.sort(key=lambda x: x[1], reverse=True)\n \nnum = 0\ni = 0\nfor b, c in BCs:\n for j in range(b):\n a = As[i]\n if a >=... | ['Runtime Error', 'Accepted'] | ['s752989177', 's435461718'] | [3064.0, 2940.0] | [18.0, 19.0] | [446, 116] |
p03035 | u252828980 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b = map(int,input().split())\nprint(b if a>=13 else b//2 if 6<=a<=12 else 0 if a<=5)', 'a,b = map(int,input().split())\nprint(b if a>=13 else b//2 if 6<=a<=12 else 0)'] | ['Runtime Error', 'Accepted'] | ['s585776343', 's926279890'] | [2940.0, 9180.0] | [17.0, 30.0] | [85, 77] |
p03035 | u258000141 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B=map(int,input().split())\nif A>=B:print(B)\nif A<=12 and A>=6:print(B//2)\nif A<=5:print(0)', 'a,b=map(int,input().split())\nif a>=13:\n print(b)\nif a<=12 and a>=6:\n print(b//2)\nif a<=5:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s866822193', 's766483128'] | [9168.0, 9040.0] | [29.0, 22.0] | [92, 107] |
p03035 | u259755734 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | [' A, B = map(int, input().split())\n if A <= 5:\n print(0)\n elif 6 <= A <= 12:\n print(B // 2)\n else:\n print(B)', 'A, B = map(int, input().split())\nif A <= 5:\n print(0)\nelif 6 <= A <= 12:\n print(B // 2)\nelse:\n print(B', 'A, B = map(int, open(0).read().split())\nif A <= 5:\n pr... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s083460448', 's401210350', 's865463703'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [134, 105, 119] |
p03035 | u260216890 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B=int(input())\nif A>=13:\n print(B)\nelif 6<=A<=12:\n print(B/2)\nelse:\n print(0)', 'A, B=map(int, input().split())\nif A>=13:\n print(B)\nelif 6<=A<=12:\n print(int(B/2))\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s098843682', 's834234782'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 107] |
p03035 | u264265458 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=input().split()\nif a>=13:\n print(b)\nelif 6<=a<=12 :\n print(b/2)\nelse :\n print(0)', 'a,b=map(int,input().split())\nprint(b if a>12 else int(b/2) if 5<a and a<13 else 0)'] | ['Runtime Error', 'Accepted'] | ['s341634598', 's061989976'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 82] |
p03035 | u266569040 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B = map(int, input())\nif A <= 5:\n print(0)\nelif A <= 12:\n print(B/2)\nelse:\n print(B)', 'A,B = map(int, input().split())\nif A <= 5:\n print(0)\nelif A <= 12:\n print(B//2)\nelse:\n print(B)'] | ['Runtime Error', 'Accepted'] | ['s081135659', 's722809955'] | [3316.0, 2940.0] | [20.0, 17.0] | [89, 98] |
p03035 | u266874640 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = map(int,input().split())\nif A >= 13:\n print(B)\nelif if 6 <= A <= 12:\n print(B // 2)\nelse:\n print(0)\n', 'A, B = map(int,input().split())\nif A >= 13:\n print(B)\nelif 6 <= A <= 12:\n print(B // 2)\nelse:\n print(0)\n'] | ['Runtime Error', 'Accepted'] | ['s723522200', 's855002324'] | [2940.0, 2940.0] | [17.0, 17.0] | [116, 113] |
p03035 | u267933821 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['if a>=13:\n print(b)\nelif a>=6 and a<=12:\n print(int(b/2))\nelse:\n print(0)', 'if a>=13:\n print(b)\nelif a>=6 and a<=12:\n print(int(b/2))\nelse:\n print(0)', 'a,b=map(int,input().split())\n\n\nif a>=13:\n print(b)\nelif a>=6 and a<=12:\n print(int(b//2))\nelse:\n print(0)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s799675664', 's977070026', 's550494078'] | [9024.0, 8964.0, 8964.0] | [29.0, 24.0, 23.0] | [76, 76, 108] |
p03035 | u273186459 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(int,input().split())\n\nif a<=5:\n print(0)\nelif 6<=a<=12:\n print(\'{}\'.format(b//2))\nelse:\n print("[]".format(b))', 'a,b=map(int,input().split())\n\nif a<=5:\n print(0)\nelif 6<=a<=12:\n print(\'{}\'.format(b//2))\nelse:\n print("{}".format(b))'] | ['Wrong Answer', 'Accepted'] | ['s100179317', 's981975186'] | [2940.0, 2940.0] | [17.0, 17.0] | [121, 121] |
p03035 | u274615057 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['\ndef main():\n a, b = map(int, input())\n if a >= 13:\n print(b)\n elif 6 <= a <= 12:\n print(b // 2)\n else:\n print(0)\n\n\nif __name__ == "__main__":\n main()\n', '\ndef main():\n a, b = map(int, input().split())\n if a >= 13:\n print(b)\n elif 6 <= a <= 12:\n ... | ['Runtime Error', 'Accepted'] | ['s703074375', 's353968364'] | [9168.0, 9104.0] | [27.0, 28.0] | [187, 195] |
p03035 | u275899124 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a = input()\nb= input()\na=int(a)\nb=int(b)\nc= int(b/2)\nif a>12:\n print(b)\nelif a<=12 and a>=6:\n print(c)\nelse:\n print(0)', 'a = input()\ns = a.find(\' \')\na+= "."\nb = a[s+1:-1]\na= a[0:s]\na=int(a)\nb=int(b)\nc= int(b/2)\nif a>12:\n print(b)\nelif a<=12 and a>=6:\n print(c)\nelse:\n print(0)'] | ['Runtime Error', 'Accepted'] | ['s383245915', 's793980840'] | [3060.0, 3064.0] | [17.0, 17.0] | [121, 158] |
p03035 | u276250981 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['y,m = map(int,input().split())\nif y>=13:\n print(m)\nif 13>y>5:\n print(m/2)\nelse:\n print(0)', 'y,m = map(int,input().split())\nif y>=13:\n print(m)\nif 13>y>5:\n print(int(m/2))\nelse:\n print(0)', 'y,m = map(int,input().split())\nif y>=13:\n print(m)\nelif 13>y>5:\n print(int(m/2))\nelse:\n print(0)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s496778501', 's930890432', 's399499027'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [92, 97, 99] |
p03035 | u277448038 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A, B = list(map(int, input().split())\n\nif A>=13:\n m = B\nelif A>=6:\n m =B/2\nelse:\n m =0\n \nprint(m)\n \n ', 'a, b = list(map(int, input().split()))\n \nif a>=13:\n m = int(b)\nelif a>=6:\n m =int(b/2)\nelse:\n m =0\n... | ['Runtime Error', 'Accepted'] | ['s445174295', 's721187769'] | [2940.0, 2940.0] | [17.0, 17.0] | [162, 154] |
p03035 | u277641173 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,p=map(int,input().split())\nif a>=13:\n print(b)\nelif a>=6:\n print(b//2)\nelse:\n print("0")', 'a,b=map(int,input().split())\nif a>=13:\n print(b)\nelif a>=6:\n print(b//2)\nelse:\n print("0")'] | ['Runtime Error', 'Accepted'] | ['s857945982', 's093282098'] | [2940.0, 3060.0] | [17.0, 17.0] | [93, 93] |
p03035 | u278356323 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['import sys\ninput = sys.stdin.readline\n\na, b = map(int, input().split())\ncost = 0\nif (a >= 13):\n print(b)\nelif (a >= 6):\n print(b // 2)\nprint(0)', 'import sys\ninput = sys.stdin.readline\n\na, b = map(int, input().split())\ncost = 0\nif (a >= 13):\n print(b)\nelif (a >= 6):\n print(b // 2)\nelse:\... | ['Wrong Answer', 'Accepted'] | ['s523121077', 's655957673'] | [2940.0, 3060.0] | [17.0, 17.0] | [149, 159] |
p03035 | u282707041 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['a,b=map(int, input().split())\nif a<=5:\n b=0\nelif 6<=a<=12:\n b=b/2\n \n print(b)', 'a,b=map(int, input().split())\nif a<=5:\n b=0\nelif 6<=a<=12:\n b=b/2\n \n print(int(b))', 'a,b=map(int, input().split())\nif a<=5:\n b=0\nelif 6<=a<=12:\n b=b/2\n \n print(int(b))\n', 'a,b=map(int, input().split())\ni... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s236465865', 's324009917', 's693722013', 's658532955'] | [2940.0, 2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0, 18.0] | [80, 85, 90, 85] |
p03035 | u283520984 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["A=int(input())\nB=int(input())\n\nif A >= 13 :\n X=B\n print( '%d' % X )\nelif X<=12 && X>=6 :\n X=B/2\n print( '%d' % X )\nelse:\n print( '0')", "A=int(input())\nB=int(input())\nC=B/2\nif A >= 13 :\n print( '%d' % B )\nelif A<=12 and A>=6 :\n print( '%d' % C )\nelse:\n print( '0')", "A=int(input())\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s170338946', 's267526109', 's729316926', 's547810584'] | [2940.0, 2940.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 17.0] | [147, 130, 140, 141] |
p03035 | u284363684 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['# input\nA, B = map(int, input().split())\n\n\nif A <= 13:\n print(B)\nelif 6 <= A <= 12:\n print(B // 2)\nelse:\n print(0)', '# input\nA, B = map(int, input().split())\n\n\nif A >= 13:\n print(B)\nelif 6 <= A <= 12:\n print(B // 2)\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s155281860', 's507378888'] | [2940.0, 2940.0] | [17.0, 17.0] | [130, 130] |
p03035 | u295656477 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ["# coding:utf-8\nif __name__=='__main__':\n r,D,x = map(int, input().split())\n for i in range(10):\n x = r*x-D\n print(x)\n ", "# coding:utf-8\n\nif __name__ == '__main__':\n A,B = map(int,input().split())\n if A >= 13:\n print(B)\n elif A>=6:\n print(int(B/2))\n else:\n print(0)"] | ['Runtime Error', 'Accepted'] | ['s769090440', 's862990420'] | [2940.0, 2940.0] | [18.0, 17.0] | [129, 156] |
p03035 | u296518383 | 2,000 | 1,048,576 | Takahashi, who is A years old, is riding a Ferris wheel. It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currenc... | ['A,B map(int,input().split())\nif A<=5:\n print(0)\nelif A<=12:\n print(B/2)\nelse:\n print(B)', 'A,B = map(int,input().split())\nif A<=5:\n print(0)\nelif A<=12:\n print(B//2)\nelse:\n print(B)'] | ['Runtime Error', 'Accepted'] | ['s675722248', 's676262835'] | [2940.0, 3060.0] | [17.0, 17.0] | [96, 99] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.