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
u789565565
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:\n print(b/2)\nelse:\n print(0)', 'a,b= map(int,input().split())\nif a >= 13:\n print(b)\nelif a > 5:\n print(b//2)\nelif a <= 5:\n print(0)']
['Runtime Error', 'Accepted']
['s699636249', 's395379712']
[9080.0, 9052.0]
[24.0, 29.0]
[99, 108]
p03035
u791527495
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,cost = map(int,input().split())\nif age <=12 or age >=6:\n cost /= 2\nelif age <6:\n cost = 0\n\nprint(cost)', 'age,cost = map(int,input().split())\nif age <=12 and age >=6:\n cost /= 2\nelif age <6:\n cost = 0\n\nprint(int(cost))']
['Wrong Answer', 'Accepted']
['s467471913', 's783493240']
[2940.0, 2940.0]
[17.0, 17.0]
[112, 118]
p03035
u800058906
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 13<=a:\n print('b')\nif 6<=a<=12:\n print('b/2')\nif a<+5:\n print('0')", "a,b=map(int,input().split())\n\nif 13<=a:\n p=int(b)\n print(p)\nif 6<=a<=12:\n p=int(b//2)\n print(p)\nif a<=5:\n print('0')"]
['Wrong Answer', 'Accepted']
['s097869484', 's933078840']
[9096.0, 9124.0]
[28.0, 27.0]
[102, 121]
p03035
u802662134
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)\nelif: A<=5:\n print(0)\n', 'A,B = map(int,input().split())\nif A >= 13:\n print(B)\nelif A>=6 and A<=12:\n print(int(B/2))\nelif A<=5:\n print(0)\n']
['Runtime Error', 'Accepted']
['s800145490', 's468092810']
[2940.0, 2940.0]
[17.0, 17.0]
[111, 115]
p03035
u804566868
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...
['value = input().split()\nage = int(value[0])\ncost = int(value[1])\n\nif(age >= 6 and age<= 12):\n result = cost // 2\nelif(age <= 5):\n result = 0\n\nprint(result)\n', 'value = input().split()\nage = int(value[0])\ncost = int(value[1])\n\nif(age >= 6 and age<= 12):\n result = cost // 2\nelif(age <= 5):\n ...
['Runtime Error', 'Accepted']
['s631199581', 's778722153']
[2940.0, 2940.0]
[17.0, 17.0]
[162, 186]
p03035
u810609687
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=map(int, input().split())\nfor i in range(1,11):\n x_i = r*x - d\n print(x_i)\n x = x_i', 'a,b = map(int,input().split())\nif (a<6):\n print(0)\nelif (a<13):\n print(b//2)\nelse:\n print(b)\n']
['Runtime Error', 'Accepted']
['s270318246', 's447290486']
[2940.0, 3064.0]
[17.0, 17.0]
[92, 96]
p03035
u821432765
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 int(b/2) if 12 >= A >= 6 else 0)', 'A,B=map(int,input().split())\nprint(b if A >= 13 else int(b/2) if A >= 6 else 0)', 'A,B=map(int,input().split())\nprint(B if A >= 13 else int(B/2) if 12 >= A >= 6 else 0)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s087538758', 's806311558', 's037381916']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[85, 79, 85]
p03035
u822130495
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...
['inputs = input().split()\n\nA = int(inputs[0])\nB = int(inputs[1])\n\nif not 0 <= A <= 100 or 2 <= B <= 1000:\n exit(0)\n\nif A <= 5:\n B = 0\nelif 5 < A <= 12:\n B /= 2\n\nprint(B)', 'inputs = input().split()\n\nN = int(inputs[0])\nM = int(inputs[1])\n\npassIDs = [0] * (10**5 + 10)\n\nfor i in range(M):\n ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s120388530', 's538471951', 's405531215']
[2940.0, 3828.0, 3060.0]
[24.0, 19.0, 17.0]
[177, 326, 232]
p03035
u824237520
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 >= 13:\n print(b)\nif 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)\n']
['Wrong Answer', 'Accepted']
['s642515808', 's817082865']
[2940.0, 2940.0]
[17.0, 17.0]
[106, 109]
p03035
u826557401
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())\nresult = set()\nfirst = True\nfor i in range(m):\n l, r = map(int, input().split())\n tmp = set()\n for i in range(l, r + 1):\n tmp.add(i)\n if first:\n result = tmp\n # print("tmp {}".format(tmp))\n first = False\n else:\n result = r...
['Runtime Error', 'Accepted']
['s488140298', 's897496289']
[3060.0, 2940.0]
[17.0, 17.0]
[404, 127]
p03035
u828139046
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 > = 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']
['s704899036', 's235605331']
[2940.0, 2940.0]
[17.0, 18.0]
[107, 106]
p03035
u829249049
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 <stdio.h>\n#include <stdlib.h>\n\n\nusing namespace std;\n\nint main(){\n int A,B;\n cin >>A>>B;\n if (A>=13){\n cout <<B;\n } \n else if (A>=6){\n cout <<B/2;\n } \n else{\n cout <<0;\n }\n} ', 'A,B=map(int,input().split())\nif A>=13:\n print(B)\nif 6<=A<13:\n print(int(B/2))\nif A<=5:...
['Runtime Error', 'Accepted']
['s946534584', 's218045116']
[2940.0, 3064.0]
[17.0, 17.0]
[222, 99]
p03035
u833997299
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...
["L, R = [[], []]\nN, M = map(int, input().split())\nfor i in range(M):\n l, r = map(int, input().split())\n L.append(l)\n R.append(r)\n\nminR = min(R)\nmaxL = max(L)\nif minR <= maxL:\n count = 0\nelse:\n count = minR - maxL + 1\n \nprint('%d' % count)", "L, R = [[], []]\nN, M = map(int, input().split())\nfo...
['Runtime Error', 'Runtime Error', 'Accepted']
['s121545208', 's979399582', 's167523229']
[3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[247, 247, 123]
p03035
u841021102
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 a >= 6 and 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 >=...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s079821540', 's368089841', 's684941842', 's038484330']
[8880.0, 8988.0, 8960.0, 9056.0]
[25.0, 25.0, 29.0, 28.0]
[108, 114, 108, 103]
p03035
u842388336
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)\nif (6<=A) or(A<=12):\n print(B/2)\nif 13<=A:\n print(B)\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']
['Wrong Answer', 'Accepted']
['s571656902', 's351986292']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 99]
p03035
u854685063
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,b = map(int,input().split())\nif n >= 13:\n print(n)\nelif n <= 5:\n print(0)\nelse:\n print(b//2)', 'n,b = map(int,input().split())\nif n >= 13:\n print(b)\nelif n <= 5:\n print(0)\nelse:\n print(b//2)\n']
['Wrong Answer', 'Accepted']
['s579456456', 's870690774']
[9136.0, 8972.0]
[28.0, 31.0]
[97, 98]
p03035
u855665975
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 B = B / 2\nelif 5 => B:\n B = 0\nelse:\n psss\n\nprint(int(B))', 'A, B = map(int, input().split())\nif(A >= 13):\n print(B)\nelif(12 >= A >= 6):\n print(int(B/2))\nelse:\n print(0)\n ']
['Runtime Error', 'Accepted']
['s177359442', 's712248035']
[2940.0, 2940.0]
[17.0, 17.0]
[111, 114]
p03035
u857217921
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 a<= 13:\n sum = b\nelif 6<= a <= 12:\n sum = b/2\nelif 5>=a:\n sum = 0\nprint(sum)\n ', 'a,b = (int(i) for i in input().split()) \nif a<= 13:\n sum = b\nelif 6<= a <= 12:\n sum = b/2\nelif 5>=a:\n sum = 0\nprint(sum)\n ', 'a,b = (int(i) for i in input().split()) \nif a<= 13:\n ...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s325507779', 's334958945', 's420911039', 's746803896', 's812268456', 's271760848']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 18.0, 18.0]
[111, 126, 124, 122, 121, 135]
p03035
u857673087
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...
['print(B if A >=13 else B//2 if 6 <= A <= 12 else 0)', 'A,B = map(int, input().split())\nprint(B if A >=13 else B//2 if 6 <= A <= 12 else 0)\n']
['Runtime Error', 'Accepted']
['s736956485', 's504256991']
[2940.0, 2940.0]
[17.0, 18.0]
[51, 84]
p03035
u863370423
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 13 <= a and a <= 100:\n print(b)', 'a, b = map(int, input().split())\nif a <= 5:\n print(0)\nelif a >= 6 and a <= 12:\n print(b//2)\nelse:\n print(b)']
['Runtime Error', 'Accepted']
['s678672802', 's787980422']
[2940.0, 2940.0]
[17.0, 25.0]
[147, 116]
p03035
u863397945
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 >= 13:\n print(B)\nelif 6<=A<=12:\n print(B/2)\nelse:\n print(0)', '#! python3\n# solve127A.py\n\nage,cost = map(int,input().split())\n\nif age <= 5:\n cost = 0\nelif 6 <= age <= 12:\n cost = cost//2\nelif 7 <= age:\n cost = cost\n\nprint(cost)']
['Runtime Error', 'Accepted']
['s553906048', 's787293059']
[9092.0, 9164.0]
[27.0, 24.0]
[100, 174]
p03035
u863442865
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 import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappu...
['Runtime Error', 'Accepted']
['s397921954', 's913733616']
[34932.0, 3316.0]
[187.0, 21.0]
[1072, 635]
p03035
u870062840
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)\n\nif 0 <=A<=100 and 2<=B<=1000:\n if B%2 == 1:\n print("ERROR")\n exit()\n else :\n if A <=5 :\n fare=0\n elif 6<=A<=12 :\n fare=B//2\n else:\n fare=B\nelse:\n print("ERROR")\n exit()\n\nprint...
['Runtime Error', 'Runtime Error', 'Accepted']
['s254736387', 's967289506', 's242283398']
[3060.0, 3060.0, 3060.0]
[18.0, 17.0, 17.0]
[304, 347, 292]
p03035
u871596687
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 13 <= A:\n print(B)\nelif (6 <= A) and (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")\n']
['Runtime Error', 'Accepted']
['s362110484', 's343789441']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 113]
p03035
u875028418
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<13:\n if 5<a:\n print(b/2)\n else:\n print(0)\nelse:\n print(b)', 'a,b=map(int,input())\nif a<13:\n if 5<a:\n print(b/2)\n else:\n print(0)\nelse:\n print(b)\n', 'a,b=map(int,input().split())\nif a<13:\n if 5<a:\n print(b//2)\n else:\n print(0)\nelse:\n print(b)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s239497381', 's410484898', 's421137111']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[90, 93, 101]
p03035
u875408597
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 < 6:\n print(0)\nelse if a < 14:\n print(int(b / 2))\nelse:\n print(b)', 'a,b = map(int, input().split())\nif a < 6:\n print(0)\n exit()\nelif a < 14:\n print(int(b / 2))\n\texit()\nelse:\n print(b)', 'a,b = map(int, input().split())\nif a < 6:\n print(0)\...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s263267930', 's504362361', 's605300423', 's777793044']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[111, 127, 127, 132]
p03035
u883040023
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 >= 13 :\n print(B)\nelif A <= 5 :\n print(0)\nelif : 5 < A < 13\n print( B/2 )', 'A , B = map(int , input().split())\n\nif A >= 13 :\n print(B)\nif A <= 5 :\n print(0)\nelse :\n print( B/2 )', 'a,b = map(int,input().split())\nprint((a>=13)*b or (6<=a)*b//2)...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s371158417', 's519631042', 's416217751']
[2940.0, 2940.0, 2940.0]
[17.0, 16.0, 17.0]
[123, 110, 62]
p03035
u883203948
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...
['data = [int(s) for in s input().split()]\n\nif data[1] >= 13:\n print(data[0]):\nelif data[1] >= 6:\n print(data[0]/2):\nelse:\n print(0)', 'data = [int(s) for s in input().split()]\n\nif data[1] >= 13:\n print(data[0])\nelif data[1] >= 6:\n print(data[0]/2)\nelse:\n print(0)\n', 'data = [int(s) fo...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s099363041', 's395426193', 's506021169', 's600135012', 's630069122']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 19.0, 17.0, 17.0, 17.0]
[139, 139, 135, 137, 144]
p03035
u886902015
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(input().split())\nif a>=13:\n print(b)\nelif 12<=a<=6:\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)\n']
['Runtime Error', 'Accepted']
['s349240411', 's483950037']
[8964.0, 9148.0]
[24.0, 28.0]
[91, 96]
p03035
u892687772
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...
['list_l = []\nlist_R = []\nID,gate = map(int,input().split())\ns = 0\nfor i in range(gate):\n l,r = map(int,input().split())\n list_l.append(l)\n list_R.append(r)\na = max(list_l)\nb = min(list_R)\n\nfor i in range(ID+1):\n if a <= i <= b:\n s += 1\n else:\n None\nprint(s)', 'a,b = map(int,input().split())\...
['Runtime Error', 'Accepted']
['s539120428', 's672677422']
[3060.0, 2940.0]
[17.0, 17.0]
[267, 107]
p03035
u893063840
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()))\nbc = [list(map(int, input().split())) for _ in range(m)]\n\nbc.sort(key=lambda x: x[1], reverse=True)\nd = []\ni = 0\n\nwhile len(d) <= n and i < len(bc):\n d += ([bc[i][1]] * bc[i][0])\n i += 1\n\nif len(d) > n:\n d = d[:n]\n\na += d\na....
['Runtime Error', 'Accepted']
['s463434449', 's615047193']
[3064.0, 2940.0]
[17.0, 17.0]
[340, 112]
p03035
u893297141
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 >= 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']
['s561282699', 's447038752']
[9188.0, 9044.0]
[29.0, 27.0]
[103, 102]
p03035
u895515293
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 A > 5 and A <= 12:\n print(B//2)\nelse:\n print(A)\n', 'A,B=map(int, input().split())\n\nif A <= 5:\n print(0)\nelif A > 5 and A <= 12:\n print(B//2)\nelse:\n print(B)\n']
['Wrong Answer', 'Accepted']
['s974150417', 's250196090']
[2940.0, 3064.0]
[17.0, 17.0]
[114, 114]
p03035
u898917044
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 collections\n\ndef int_cards(N, cards, operations):\n col_cards = collections.deque(sorted(cards), N)\n operations.sort(reverse=True)\n for c, b in operations:\n for _ in range(b):\n if col_cards[0] >= c:\n break\n col_cards.popleft()\n col_cards....
['Runtime Error', 'Accepted']
['s913155141', 's461408208']
[3316.0, 2940.0]
[21.0, 17.0]
[564, 202]
p03035
u903629757
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().sprit())\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']
['s142986109', 's104694884']
[8720.0, 9156.0]
[26.0, 23.0]
[103, 103]
p03035
u904712167
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:\n half_b = B/2\n print(half_b)\nelse:\n print(int(0))', '\nA = input()\n\nB = input()\n\nif A >= 13:\n return B\nelif 13> A >=6:\n return B/2\nelse:\n return 0', 'A = input()\nB = input()\n\nif A >= 13:\n print(B)\nelif A >= 6:\n prin...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s047538372', 's383729825', 's950188981', 's924825492']
[9172.0, 8920.0, 9008.0, 9064.0]
[26.0, 22.0, 26.0, 21.0]
[123, 109, 90, 94]
p03035
u904943473
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 >=13):\n print(A)\nelif (A <= 12 and A >= 6):\n print(A / 2)\nelse:\n print(0)', 'A, B = map(int, input().split())\n \nif (A >=13):\n print(B)\nelif (A <= 12 and A >= 6):\n print(int(B / 2))\nelse:\n print(0)\n']
['Wrong Answer', 'Accepted']
['s720355935', 's923523574']
[2940.0, 2940.0]
[17.0, 17.0]
[116, 123]
p03035
u907223098
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,c=(int(i) for i in input().split())\nfor i in range(0,9):\n c=a*c-b\n int c\n print(c)\n', 'a,b=map(int, input().split( ))\nif a<=5:\n print 0\nelif a<12:\n print b/2\nelse:\n print b\n', 'a,b,c=(int(i) for i in input().split())\nwhile i<9:\n i=i+1\n c=a*c-b\n print(c)\n', 'a,b,c=(int(i) for i in input()...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s072969879', 's167862089', 's179922982', 's321354773', 's443114684', 's514416148', 's792589338', 's819618382', 's869375981', 's896387171', 's933637068', 's985846663', 's140811736']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 3064.0, 3060.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0, 19.0, 20.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0]
[90, 89, 80, 86, 96, 246, 88, 91, 86, 314, 338, 88, 103]
p03035
u909643606
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...
['q = int(input())\n\nkeisuu_lower = []\nkeisuu_upper = []\nkeisuu_lower_max = 0\nkeisuu_upper_min = float("inf")\nkeisuu_lower_count = 0\nkeisuu_upper_count = 0\nkeisuu_lower_sum = 0\nkeisuu_upper_sum = 0\nteisuu = 0\n\nfor i in range(q):\n query = input()\n if query == "2":\n print(keisuu_lower_max,\n ...
['Runtime Error', 'Accepted']
['s974009534', 's598425329']
[3064.0, 2940.0]
[17.0, 17.0]
[1986, 113]
p03035
u914330401
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())\nt_list = [[0] * 2 for _ in range(M)]\nans = 0\nis_change = False\nfor i in range(M):\n t_list[i] = list(map(int, input().split()))\nbottom = t_list[i][0]\nup = t_list[i][1]\nfor i in range(M):\n t_bottom = t_list[i][0]\n t_up = t_list[i][1]\n if t_bottom > bottom and t_bottom <= ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s685906086', 's844236870', 's819950325']
[3064.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0]
[470, 122, 120]
p03035
u914671452
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\nA,B = map(int,input().split())\nif A >= 13:\n print(B)\nelif 6 <= A <= 12:\n print(B / 2)\nprint(0)', '#coding:utf-8\nA,B = map(int,input(),split())\nif A >= 13:\n print(B)\nelif 6 <= A <= 12:\n print(B / 2)\nprint(0)', '#coding:utf-8\nA,B = map(int,input().split())\nif A >= 13:\n pri...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s574475472', 's942796957', 's966555493', 's114939708']
[2940.0, 2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0, 18.0]
[115, 115, 126, 136]
p03035
u916787248
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\nanswer = []\ntmp = []\n\nL, R = map(int, input().split())\nanswer = list(range(L, R+1))\n\nfor i in range(M-1):\n L, R = map(int, input().split())\n for j in range(L, R+1):\n if j in answer:\n tmp.append(j)\n elif j > answer[-1]:\n continue...
['Runtime Error', 'Accepted']
['s896744225', 's899641774']
[3064.0, 2940.0]
[17.0, 17.0]
[367, 112]
p03035
u917733926
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,open(0).read().split())\n\nif (a >=13):\n print (b)\nelse if(a<=12 and a>=6):\n print(b //2)\nelse:\n print(0)', 'a, b= map(int,open(0).read().split())\n\nif (a >=13):\n print (b)\nelif(a<=12 and a>=6):\n print(b // 2)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s451606786', 's572184636']
[2940.0, 2940.0]
[17.0, 17.0]
[126, 124]
p03035
u918601425
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(s) for s in input().split()]\nif a>=13:\n print(b)\nelif a<=6:\n print(b/2)\nelse:\n print 0', 'a,b = [int(s) for s in input().split()]\nif a>=13:\n print(b)\nelif a>=6:\n print(b//2)\nelse:\n print(0)']
['Runtime Error', 'Accepted']
['s741731826', 's593955342']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 102]
p03035
u918845030
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 input_from_console():\n a, b = map(int, input().split())\n return a, b\n\n\ndef solve(a, b):\n if a >= 13:\n return b\n elif a >= 6:\n return b / 2\n else:\n return 0\n\n\ndef main():\n a, b = input_from_console()\n\n\nif __name__ == "__main__":\n DEBUG = False\n if no...
['Wrong Answer', 'Accepted']
['s680279587', 's781286710']
[3060.0, 3064.0]
[17.0, 17.0]
[321, 369]
p03035
u919734978
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 > 12:\n print(b)\n break\nelif a > 5:\n print(b/2)\n break\nelse:\n print(0)', 'a, b = map(int, input().split())\n\nif a > 12:\n print(b)\nelif a > 5:\n print(round(b/2))\nelse:\n print(0)\n']
['Runtime Error', 'Accepted']
['s682388963', 's074162447']
[2940.0, 3064.0]
[18.0, 17.0]
[113, 105]
p03035
u920977317
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 inp=list(map(lambda x:int(x),input().split()))\n A=inp[0]\n B=inp[1]\n\n res=B\n if 6<=B=<12:\n res=res//2\n elif B<=5:\n res=0\n\n print(res)\n\nif __name__=="__main__":\n main()\n \n', 'def main():\n inp=list(map(lambda x:int(x),input().split()))\n A=inp[...
['Runtime Error', 'Accepted']
['s470650450', 's859972210']
[2940.0, 2940.0]
[17.0, 17.0]
[223, 229]
p03035
u925712467
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,money=map(int, input()).split()\nassert 1<=age<=100 and 2<=b<=1000 and b%2==0\nif age<=5:\n\tprint('0')\nelif 6<=age<=12:\n \tprint(money/2)\nelse:\n \tprint(money)\n\n\n ", "age,money=map(int, input().split())\nassert 1<=age<=100 and 2<=b<=1000 and b%2==0\nif age<=5:\n print('0')\nelif 6<=age<=12:\n pri...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s132006344', 's394963465', 's890689225', 's959389639', 's659968266']
[9048.0, 9036.0, 9036.0, 9092.0, 9168.0]
[28.0, 26.0, 24.0, 24.0, 30.0]
[165, 166, 166, 177, 250]
p03035
u927534107
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\nprint(0)', '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)', 'A,B = map(int,i...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s056708600', 's188991198', 's691266726', 's848947003']
[2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[89, 93, 91, 97]
p03035
u934073551
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 X=0\nelif a>5 and a<=12:\n X=a/2\nelse :\n X=a\nprint(X)', 'a,b=map(int,input().split())\nif a<=5:\n X=0\nelif a>5 and a<=12:\n X=b/2\nelse :\n X=b\nprint(int(X))']
['Wrong Answer', 'Accepted']
['s241588477', 's111272001']
[2940.0, 2940.0]
[18.0, 17.0]
[99, 104]
p03035
u937618939
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 = map(int, input().split())\nresult=[]\nresult.append(x)\nfor i in range(10):\n\tx=r*x-d\n\tresult.append(x)\nfor i in result[1:11]:\n\tprint(i)', 'r,d,x = map(int, input().split())\nresult=[]\nresult.append(x)\nfor i in range(10):\n\tx=r*x-d\n\tresult.append(x)\nfor i in result[1:10]:\n\tprint(i)', 'r,d,x = ma...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s431173465', 's827419568', 's901234236', 's909402119', 's575809888']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 17.0]
[140, 140, 145, 145, 113]
p03035
u941458732
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 < 6:\n print(0)\nelif a >= 6 & a <= 12:\n print(int(b/2))\nelse:\n print(b)', 'a,b = list(map(int, input().split()))\nif a < 6:\n print(0)\nelif a >= 6 & a <= 12:\n print(b/2)\nelse:\n print(b)', 'a,b = list(map(int, input().split()))\nif a < 6:\n print(0)\nelif a >=...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s050178081', 's074559263', 's943311356']
[2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[116, 111, 118]
p03035
u942033906
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(input().split())\nif A < 7:\n print(0)\nelif A < 13:\n print(B//2)\nelse:\n print(B)', 'A,B = map(int, input().split())\nif A < 6:\n print(0)\nelif A < 13:\n print(B//2)\nelse:\n print(B)']
['Runtime Error', 'Accepted']
['s849717404', 's342846746']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 96]
p03035
u952491523
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(a)\nelif a >= 6:\n print(a//2)\nelse:\n print(0)', 'a,b=map(int,input().split())\nif b >= 13:\n print(a)\nelif b >= 6:\n print(a//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', 'Wrong Answer', 'Accepted']
['s185335855', 's265626421', 's070884615']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[95, 95, 95]
p03035
u953655640
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 <= 12 and A >= 6:\n print(B/2)\neiif A < 6:\n print(0) ', 'A, B = map(int, input().split())\nif A >= 13:\n\tB = B\nelif A <= 12 and A >= 6:\n B = B // 2\nelif A < 6:\n B *= 0\nprint(B) ']
['Runtime Error', 'Accepted']
['s481422741', 's338847445']
[2940.0, 2940.0]
[17.0, 17.0]
[117, 120]
p03035
u956194864
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 out = b\nelif a >= 6:\n out = b/2\nelse:\n out = 0\nprint(out)', 'a, b = map(int,input().split())\n\nif a >= 13:\n out = b\nelif a >= 6:\n out = int(b/2)\nelse:\n out = 0\nprint(out)']
['Runtime Error', 'Accepted']
['s393956362', 's341190352']
[2940.0, 2940.0]
[17.0, 17.0]
[98, 111]
p03035
u957872856
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, b = map(int,input().split())\ncnt = 0\nfor i in range(1, m):\n l, r = map(int,input().split())\n if (l > b and r > b) or (l < a and r < a):\n print(0)\n exit()\n if a<=l<=b:\n a = l\n if r <= b:\n b = r\nprint(b-a+1)', 'a, b = map(int,input().split())\nif a <= 5:\n ...
['Runtime Error', 'Accepted']
['s911846895', 's632637439']
[3064.0, 2940.0]
[17.0, 18.0]
[256, 114]
p03035
u957957759
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']
['s235359660', 's220557821']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 97]
p03035
u959421160
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(int(B / 2))\nelse:\n print(0)\n']
['Runtime Error', 'Accepted']
['s629859250', 's444196429']
[2940.0, 2940.0]
[17.0, 17.0]
[106, 118]
p03035
u960387251
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())\nX = 0\nif A >= 13:\n\tX = B\nelif A < 13 AND A >= 6:\n\tX = B/2\n\nprint(X)', 'A, B = map(int, input().split())\nX = 0\nif A > 12:\n\tX = B\nelif A > 5:\n\tX = int(B/2)\nelif A < 6:\n\tX = 0\n\nprint(X)']
['Runtime Error', 'Accepted']
['s977308231', 's699374306']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 111]
p03035
u963963908
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...
['#ABC127 A\n\nA, B = map(int,input(),split())\nif A >= 13:\n print(B)\nelif 6 <= A <= 12:\n print(B/2)\nelif A <= 5:\n print(0)', 'A, B = map(int,input().split())\nif A >= 13:\n print(B)\nelif 6 <= A <= 12:\n print(B//2)\nelif A <= 5:\n print(0)']
['Runtime Error', 'Accepted']
['s297608276', 's349237659']
[9088.0, 9056.0]
[19.0, 26.0]
[127, 117]
p03035
u965075144
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(i) for i in input().split()]\n\nif a >= 13:\n\tprint(B)\nelif a >= 6:\n\tprint(B/2)\nelse:\n\tprint(0)', 'a, b = [int(i) for i in input().split()]\n\nif a >= 13:\n\tprint(b)\nelif a >= 6:\n\tprint(int(b/2))\nelse:\n\tprint(0)']
['Runtime Error', 'Accepted']
['s166054082', 's729217451']
[2940.0, 2940.0]
[17.0, 17.0]
[104, 109]
p03035
u969236097
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 abc127d():\n N, M = (int(s) for s in input().split(" "))\n A = sorted(list(int(s) for s in input().split(" ")))\n for i in range(0, M):\n B, C = (int(s) for s in input().split(" "))\n r = len(list(filter(lambda x: x < C, A[:B])))\n A = sorted([C for n in range(0, r)] + A[r:])\n pr...
['Runtime Error', 'Accepted']
['s952808600', 's435527090']
[3060.0, 2940.0]
[17.0, 17.0]
[333, 175]
p03035
u969848070
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(a//2)\nelse:\n print(a)', 'a, b = map(int, input().split())\nif a <=5:\n print(0)\nelif a<= 12:\n print(b//2)\nelse:\n print(b)']
['Wrong Answer', 'Accepted']
['s468193678', 's246017193']
[2940.0, 2940.0]
[17.0, 18.0]
[97, 97]
p03035
u971182332
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\n a_list = list(map(int,input().split()))\n total = 0\n\n for i in range(m):\n b,c = map(int,input().split())\n a_list.extend([c]*b)\n\n a_list.sort(reverse=True)\n print(sum(a_list[:n]))\n\nif __name__ == '__main__':\n main()", 'a,...
['Runtime Error', 'Accepted']
['s332371235', 's553202141']
[9044.0, 9104.0]
[25.0, 25.0]
[298, 111]
p03035
u972966022
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(i) for i in input().split())\n\ndef ferris(a, b):\n price = 0\n if a <= 5:\n price = 0\n elif a <= 12:\n price = b / 2\n else:\n price = b\n \n return price\n\nferris(a, b)', 'a, b = (int(i) for i in input().split())\n\ndef ferris(a, b):\n price = 0\n if a ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s012692348', 's629536448', 's554635038']
[2940.0, 3060.0, 3060.0]
[18.0, 17.0, 19.0]
[214, 215, 215]
p03035
u978252828
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\u3000A>=13:\n print(B)\nelse:\n print(B//2)\n ', 'A,B = map(int,input().split())\n\nif A<=5:\n print(0)\nelif A>=13:\n print(B)\nelse:\n print(B//2)\n ']
['Runtime Error', 'Accepted']
['s689877739', 's635976623']
[3188.0, 2940.0]
[19.0, 18.0]
[101, 99]
p03035
u981040490
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 -*-\ndef main():\n A,B = map(int,input().split())\n print(A,B)\n if 6<=A<=12:\n B = B/2\n elif 5>=B:\n B = 0\n print(int(B))\nif __name__ == '__main__':\n main()", "# -*- coding: utf-8 -*-\ndef main():\n A,B = map(int,input().split())\n\n if 6<=A<=12:\n ...
['Wrong Answer', 'Accepted']
['s862261348', 's287573332']
[2940.0, 2940.0]
[17.0, 17.0]
[203, 188]
p03035
u986190948
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)\n \n', 'a,b=map(int input().split())\nif a>=13:\n print(b\\n)\nelif a<=5:\n print(0\\n)\nelse:\n print(b/2\\n)\n ', 'a,b=map(int,input().split())\nif a>=13:\n print(b)\nelif a<=5:\n print(0)\nel...
['Runtime Error', 'Runtime Error', 'Accepted']
['s259218252', 's887816215', 's231670204']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[102, 107, 103]
p03035
u989385104
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())\nListA = list(map(int,input().split()))\ndictionary = {}\nfor i in range(M):\n B,C = map(int,input().split())\n dictionary[C] = B\n \nListA = sorted(ListA)\ndict_keys = sorted(dictionary.keys())\nfor dict_key in dict_keys:\n for i in range(dictionary[dict_key]):\n if...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s296993015', 's424252905', 's939362831', 's149726888']
[3064.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[450, 114, 119, 128]
p03035
u999482355
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 = map(int, input().split())\nfor i in range(10):\n x = r*x-D\n print(x)\n', 'A, B = map(int, input().split())\nif A >= 13:\n print(B)\nelif A >= 6:\n print(B//2)\nelse:\n print(0)\n']
['Runtime Error', 'Accepted']
['s860992550', 's938536615']
[2940.0, 2940.0]
[17.0, 17.0]
[79, 100]
p03036
u007261655
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x=map(int,input().split())\nfor i in range(11):\n print(str(x))\n x = x * r - d\n', 'r,d,x=map(int,input().split())\nfor i in range(10):\n x = x * r - d\n print(str(x))\n']
['Wrong Answer', 'Accepted']
['s845014670', 's357742980']
[2940.0, 2940.0]
[20.0, 17.0]
[87, 87]
p03036
u014948743
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['import sys\n\na, b, c = map(int, input().split())\nx = a*c -b\n\nfor i in range(1,10):\t\n\tprint(x)\n\tx = a*x-b', 'import sys\n\na, b, c = map(int, input().split())\n\nx = a*c -b\n\nfor i in range(0,10):\t\n\tprint(x)\n\tx = a*x-b']
['Wrong Answer', 'Accepted']
['s744611166', 's381137502']
[2940.0, 2940.0]
[17.0, 21.0]
[103, 104]
p03036
u020798319
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r, d, x = map(int, input().split())\nfor i in range (1,11):\n x = (r*x)-d\nprint(x)', 'r, d, x = map(int, input().split())\nfor i in range (1,11):\n x = (r*x)-d\n print(x)']
['Wrong Answer', 'Accepted']
['s658988402', 's202125931']
[9152.0, 9008.0]
[23.0, 27.0]
[81, 83]
p03036
u027076164
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,D,x = map(int,input().split())\nfor i in range(1,11):\n print(D//(r-1)+(x-D//(r-1))*r**(i-2000))', 'r,D,x = map(int,input().split())\nfor i in range(1,11):\n print(int(D/(r-1)+(x-D/(r-1))*r**i))']
['Wrong Answer', 'Accepted']
['s448752362', 's080806915']
[2940.0, 2940.0]
[17.0, 17.0]
[97, 93]
p03036
u028014940
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['\nr,d,x_2000=map(int,input().split())\n\ndef X(n): \n if n == 1:return x_2000\n else:return r*X(n-1)-d\nprint([X(n) for n in range(2,12)])', '\nr,d,x_2000=map(int,input().split())\n\ndef X(n): \n if n == 1:return x_2000\n else:return r*X(n-1)-d\nlis=[X(n) for n in range(2,12)]\n[print(i) for i in li...
['Wrong Answer', 'Accepted']
['s263628201', 's550715443']
[2940.0, 2940.0]
[17.0, 16.0]
[141, 162]
p03036
u046585946
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x=map(int,input().split())\nfor i in range(10):\n print(x)\n x=x*r-d', 'r,d,x=map(int,input().split())\nfor i in range(10):\n x=x*r-d\n print(x)']
['Wrong Answer', 'Accepted']
['s401860764', 's268419708']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 71]
p03036
u047023156
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r, D, x2000 = map(int, input().split())\nx = [x2000]\nfor i in range(11):\n x.append(r*x[i]-D)\n print(x[i])', 'r, D, x2000 = map(int, input().split())\nx = [x2000]\nfor i in range(10):\n x.append(r*x[i]-D)\n print(x[i+1])']
['Wrong Answer', 'Accepted']
['s558752694', 's363017618']
[2940.0, 2940.0]
[17.0, 17.0]
[118, 120]
p03036
u054825571
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['x,D,xx=map(int,input().split())\nfor i for range(10):\n xx = x*xx-D\n print(xx)', 'x,D,xx=map(int,input().split())\nfor i in range(10):\n xx = x*xx-D\n print(xx)']
['Runtime Error', 'Accepted']
['s683427094', 's432875302']
[9020.0, 8884.0]
[22.0, 28.0]
[78, 77]
p03036
u069868839
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x=map(int,input().split())\ndef algae(n):\n if n==1:\n return x\n else:\n return r*algae(n-1)-d\nfor i in range(2,12):\n algae(i)', 'from functools import lru_cache\n\nr,d,x=map(int,input().split())\n@lru_cache(maxsize=100)\ndef algae(n):\n if n==1:\n return x\n else:\n ...
['Wrong Answer', 'Accepted']
['s267517640', 's053371140']
[2940.0, 3700.0]
[17.0, 29.0]
[149, 213]
p03036
u074338678
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x = map(int, input().split())\n\nfor i in range(10):\n x += r*x - d\n printx(x)\n ', 'r,d,x = map(int, input().split())\n\nfor i in range(10):\n x += r*x - D\n printx(x)\n ', 'r,d,x = map(int, input().split())\n\ncount = 0\nwhile count < 11:\n x = r*x-d\n print(x)\n count += 1\n ', 'r,d,x = map(int, inp...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s115238580', 's528301346', 's724220652', 's891660419']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[84, 84, 101, 101]
p03036
u076996519
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x = int(input().split())\nfor i in range(10):\n\tx = r * x - d\n\tprint(x)', 'r,d,x = map(int, input().split())\nfor i in range(10):\n\tx = r * x - d\n\tprint(x)']
['Runtime Error', 'Accepted']
['s397143310', 's919914641']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 78]
p03036
u082861480
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,D,X = map(int, input().split())\nope_num = 10\n\nwhile ope_num > 10:\n X = r*X -D\n print(X)\n \n ope_num -= 1', 'r,D,X = map(int, input().split())\nope_num = 10\n\nwhile ope_num > 0:\n X = (r * X) - D\n print(X)\n \n ope_num -= 1']
['Wrong Answer', 'Accepted']
['s956401904', 's886018815']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 113]
p03036
u089142196
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,D,x_2000=map(int, input().split())\n\ndef calc(x):\n if x==2000:\n ans=x_2000\n else:\n ans=r*calc(x-1)-D\n return ans\n\nfor i in range(2000,2011):\n ans2=calc(i)\n print(ans2)', 'r,D,x_2000=map(int, input().split())\n\ndef calc(x):\n if x==2000:\n ans=x_2000\n else:\n ...
['Wrong Answer', 'Accepted']
['s762193920', 's748725564']
[2940.0, 2940.0]
[17.0, 17.0]
[193, 193]
p03036
u092646083
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r D x = map(int, input.split())\nfor i in range(10):\n x = r * x - D\n print(x)', 'r, D, x = map(int, input().split())\nfor i in range(10):\n x = r * x - D\n print(x)']
['Runtime Error', 'Accepted']
['s713844785', 's816008279']
[2940.0, 2940.0]
[17.0, 18.0]
[78, 82]
p03036
u098012509
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
["import sys\ninput = sys.stdin.readline\n\ndef main():\n r, D, x = [int(x) for x in input().split()]\n next_year = x\n for _ in range(10):\n next_year = r * next_year - D\n\n\nif __name__ == '__main__':\n main()\n\n", "import sys\ninput = sys.stdin.readline\n\ndef main():\n r, D, x = [int(x) for ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s414952903', 's972392771', 's777085062']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[220, 220, 245]
p03036
u098968285
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r, D, x = map(int, ainput().split())\nfor i in range(1, 11):\n x = r * x - D\n print(x)\n', 'r, D, x = map(int, input().split())\nfor i in range(1, 11):\n x = r * x - D\n print(x)\n']
['Runtime Error', 'Accepted']
['s273215504', 's464724631']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 90]
p03036
u103305058
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x = map(int,input().split())\nfor i in range(10)\n x = r * x - d\n print(x)', 'r,d,x = map(int,input().split())\nfor i in range(10):\n x = r * x - d\n print(x)']
['Runtime Error', 'Accepted']
['s165550360', 's763913320']
[2940.0, 2940.0]
[19.0, 17.0]
[82, 83]
p03036
u135116520
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['def main():\n x=[]\n r,D,X=map(int,input().split())\n x.append(X)\n for i in range(1:11):\n x.append(r*x[i-1]-D)\n print(x[i])\nmain()', 'def main():\n r,D,X_2000=map(int,input().split())\n x=[]\n x.append(X_2000)\n for i in range(1:11):\n x.append(r*x[i-1]-D)\n print(x[i])\nmain()', 'def main():\...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s331016183', 's681690712', 's950405900', 's700711382']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[137, 147, 165, 147]
p03036
u135389999
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x = map(int,input())\n\nfor i in range(10):\n x = r*x - d\n print(r)', 'r,d,x = map(int,input().split())\n \nfor i in range(10):\n x = r*x - d\n print(r)', 'r,d,x = map(int,input().split())\n \nfor i in range(10):\n x = r*x - d\n print(x)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s235159907', 's961111332', 's403870746']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[70, 79, 79]
p03036
u135847648
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,D,x = map(int,input().split())\nfor i in range(9):\n x = r * x -D\n print(x)', 'r,D,x = map(int,input().split())\nfor i in range(10):\n x = r * x -D\n print(x)']
['Wrong Answer', 'Accepted']
['s875941091', 's704810058']
[2940.0, 2940.0]
[17.0, 17.0]
[77, 78]
p03036
u163874353
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r, d , x = map(int, input().split())\ncnt = 0\nprint(x)\nwhile cnt <= 10:\n x = r * x - d\n print(r * x - d)\n cnt += 1', 'r, d , x = map(int, input().split())\ncnt = 0\nprint(x)\nwhile cnt <= 8:\n x = r * x - d\n print(r * x - d)\n cnt += 1', 'r, d , x = map(int, input().split())\ncnt = 0\nprint(r ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s106626366', 's979491489', 's014809820']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[122, 121, 129]
p03036
u175590965
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x = map(int,input().split())\nfor i in range(10):\n x = r*x-d\nprint(x)\n', 'r,d,x = map(int,input().split())\nfor i in range(10):\n print(r*x-d)\n x = r*x-d']
['Wrong Answer', 'Accepted']
['s695093609', 's229998644']
[2940.0, 9104.0]
[17.0, 26.0]
[76, 83]
p03036
u181195295
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r, D, x = map(int,input().split())\ndp = [0]*11\ndp[0]=x\nfor i in range(10):\n dp[i+1] = r*dp[i] - D\n \nprint(dp[-1])', 'r, D, x = map(int,input().split())\ndp = [0]*11\ndp[0]=x\nfor i in range(10):\n dp[i+1] = r*dp[i] - D\n \nprint(*dp[1:], sep = "\\n")\n']
['Wrong Answer', 'Accepted']
['s938860069', 's429558033']
[2940.0, 2940.0]
[18.0, 17.0]
[115, 129]
p03036
u185966380
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r, D, x = map(int, input().split())\ndef mo(r, D, x, i):\n out = rx - D\n print(int(out))\n if i<9:\n \treturn mo(r, D, out, i+1)\n else:\n return 0\n \n mo(r, D, x, 0)', 'r, D, x = map(int, input().split())\ndef mo(r, D, x, i):\n out = r*x - D\n print(int(out))\n if i<9:\n \treturn mo(r, D, out, i+1)\n...
['Wrong Answer', 'Accepted']
['s430597677', 's242928477']
[2940.0, 2940.0]
[17.0, 18.0]
[168, 167]
p03036
u188244611
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
["\ntmp = [int(el) for el in input().split(' ')]\nr = tmp[0]\nd = tmp[1]\nX = [0 for i in range(11)]\nX[0] = tmp[2]\n\nprint(r, d, X[0])\n\nfor i in range(1, 11):\n X[i] = r*X[i-1] - d\n print(X[i])\n", "\ntmp = [int(el) for el in input().split(' ')]\nr = tmp[0]\nd = tmp[1]\nX = [0 for i in range(11)]\nX[0] = tmp...
['Wrong Answer', 'Accepted']
['s836065404', 's939707184']
[3060.0, 2940.0]
[17.0, 17.0]
[212, 194]
p03036
u189397279
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['import sys\nr, D, x2000 = map(int, sys.stdin.readline().split())\nx2001 = r * x2000 - D\nx2002 = r * x2001 - D\nx2003 = r * x2002 - D\nx2004 = r * x2003 - D\nx2005 = r * x2004 - D\nx2006 = r * x2005 - D\nx2007 = r * x2006 - D\nx2008 = r * x2007 - D\nx2009 = r * x2008 - D\nx2010 = r * x2009 - D\nprint(x2001)\nprint(x2...
['Runtime Error', 'Accepted']
['s485413157', 's040424699']
[3316.0, 3064.0]
[21.0, 17.0]
[414, 413]
p03036
u204616996
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,D,x=map(int,input().split())\nfor i in range(10):\n x=r*x-D\n print(x)', 'r,D,x=map(int,input().split())\nfor i in range(10):\n x=r*x-D\n print(x)']
['Runtime Error', 'Accepted']
['s382365708', 's764509182']
[2940.0, 2940.0]
[17.0, 18.0]
[74, 71]
p03036
u213401801
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,d,x=map(int,input().split())\nfor i range(10):\n x=rx-d\n print(x)', 'r,d,x=map(int,input().split())\nfor i range(10):\n x=r*x-d\n print(x)', 'r,d,x=map(int,input().split())\nfor i in range(10):\n x=r*x-d\n print(x)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s333224967', 's529716098', 's926195801']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[67, 68, 71]
p03036
u217303170
2,000
1,048,576
The development of algae in a pond is as follows. Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds: * x_{i+1} = rx_i - D You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.
['r,t,x=map(int,input().split())\nprint(a=r*x-t)\nprint(b=r*a-t)\nprint(c=r*b-t)\nprint(d=r*c-t)\nprint(e=r*d-t)\nprint(f=r*e-t)\nprint(g=r*f-t)\nprint(h=r*g-t)\nprint(i=r*h-t)\nprint(j=r*i-t)\n', 'r,t,x=map(int,input().split())\na=r*x-t\nb=r*a-t\nc=r*b-t\nd=r*c-t\ne=r*d-t\nf=r*e-t\ng=r*f-t\nh=r*g-t\ni=r*h-t\nj=r*i-t\n...
['Runtime Error', 'Accepted']
['s970051754', 's812133819']
[3060.0, 3064.0]
[17.0, 16.0]
[181, 200]