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
p03219
u670567845
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = int(input().split())\nprint(X+Y//2)', 'X, Y = map(int,input().split())\nprint(X+Y//2)\n']
['Runtime Error', 'Accepted']
['s855599952', 's452433662']
[2940.0, 2940.0]
[18.0, 17.0]
[41, 46]
p03219
u671787293
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['import numpy as np\ndef main():\n ttt = []\n n = int(input())\n N, M = map(int, input().split())\n e = list(map(int, input().split()))\n \n #n = 3\n #e = [[21,-11],[81234,94124,52141\n for j in range(n):\n t = N - e[j]*0.006\n tt = abs(M - t)\n ttt.append(tt)\n ttt = np.array(ttt)\n print(np.argmin(ttt)+1)\nmain()', 'import numpy as np\ndef main():\n ttt = []\n n = int(input())\n N, M = map(int, input().split())\n e = list(map(int, input().split()))\n \n #n = 3\n #e = [[21,-11],[81234,94124,52141\n for j in range(n):\n t = N - e[j]*0.006\n tt = abs(M - t)\n ttt.append(tt)\n ttt = np.array(ttt)\n print(np.argmin(ttt)+1)\nmain()\n', 'def main():\n a, b = [int(_) for _ in input().split()]\n print(a+b/2)\nmain()', 'a = input().split()\nprint(int(a[0]+a[1]/2))', 'def main():\n a, b = (int(_) for _ in input().split())\n print(int(a+b/2))\nmain()']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s216484182', 's604041952', 's666112410', 's867884494', 's778039793']
[12484.0, 12480.0, 2940.0, 2940.0, 2940.0]
[148.0, 148.0, 17.0, 17.0, 17.0]
[420, 421, 76, 43, 81]
p03219
u673338219
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input().split())\nprint(x+y/2)', 'x,y = map(int,input().split())\nprint(x+int(y/2))\n']
['Wrong Answer', 'Accepted']
['s510450389', 's110756211']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 49]
p03219
u681110193
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b=map(int,input().split())\n\nprint(a+b/2)', 'a,b=map(int,input().split())\n\nprint(int(a+b/2))\n']
['Wrong Answer', 'Accepted']
['s041790934', 's011925713']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 48]
p03219
u681945095
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["# -*- coding:UTF-8 -*-\n\n'''\n@author kasaii\n@data 11.10.18\n'''\n\ndef input_and_check(string='Input costs without using ticket:'):\n #input\n costs = input(string)\n a_to_b = int(costs.split(' ')[0])\n b_to_c = int(costs.split(' ')[1])\n #check\n if (1 <= a_to_b \\\n and b_to_c <= 100) \\\n and (b_to_c % 2 == 0) \\\n and (type(a_to_b) \\\n and type(b_to_c) == int):\n return a_to_b,b_to_c\n else:\n return input_and_check('Wrong input, reenter:')\n\ndef calculate(total_costs):\n return total_costs[0] + total_costs[1]/2\n\nif __name__ == '__main__':\n print(int(calculate(input_and_check())))\n", "ab,bc = map(int,input().split(' '))\nprint(int(ab+(bc/2)))\n"]
['Wrong Answer', 'Accepted']
['s941670821', 's360982160']
[3064.0, 2940.0]
[17.0, 17.0]
[623, 58]
p03219
u684305751
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['print(int(input())+int(input())//2)', 'x,y=map(int,input().split())\nprint(x+y//2)']
['Runtime Error', 'Accepted']
['s004816736', 's523306991']
[2940.0, 2940.0]
[18.0, 17.0]
[35, 42]
p03219
u688055251
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['improt sys\n\ndef solve (a,b):\n c=int(b)//2\n D=int(a)+int(c)\n print(D)\n\ndef readQuestion():\n ws = sys.stdin.readline()。strip()。split()\n a = int(ws [0])\n b = int(ws [1])\n return(a、b)\n\ndef main():\n print(solve(* readQuestion()))\n\n#提出前にコメントを外す\nmain()', 'a=input()\nb=input()\nc=int(b)//2\nD=int(a)+int(c)\nprint(D)', 'import sys\n\ndef solve (a,b):\n c=int(b)//2\n D=int(a)+int(c)\n print(D)\n \ndef readQuestion():\n ws = sys.stdin.readline().strip().split()\n a = int(ws[0])\n b = int(ws[1])\n return (a, b)\n\ndef main():\n print(solve(*readQuestion()))\n\n# Uncomment before submission\n main()\n', 'import sys\n\ndef solve(a, b):\n def a (a,b):\n return(int(a)+int(b)//2)\n\n\ndef readQuestion():\n ws = sys.stdin.readline().strip().split()\n a = int(ws[0])\n b = int(ws[1])\n return (a, b)\n\ndef main():\n print(solve(*readQuestion()))\n\n# Uncomment before submission\nmain()', 'import sys\n\ndef solve(a, b):\n return(int(a)+int(b)//2)\n\n\ndef readQuestion():\n ws = sys.stdin.readline().strip().split()\n a = int(ws[0])\n b = int(ws[1])\n return (a, b)\n\ndef main():\n print(solve(*readQuestion()))\n\n# Uncomment before submission\nmain()']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s580286310', 's584843767', 's634742759', 's891396874', 's009515634']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 17.0]
[351, 56, 291, 282, 266]
p03219
u690037900
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input())\nprint(x+y//2)', 'x,y = map(int,input().split())\nprint(x+y//2)']
['Runtime Error', 'Accepted']
['s612018932', 's438467086']
[2940.0, 2940.0]
[17.0, 17.0]
[36, 44]
p03219
u691018832
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a, b = map(int, input().split())\nprint(a + (0.5 * b))', 'x, y = map(int, input().split())\nans = x + (y / 2)\nprint(ans)', 'a, b = map(int, input().split())\nprint(a + 0.5 * b)', 'x, y = map(int, input().split())\nans = x + (y / 2)\nprint(int(ans))']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s372860207', 's497996833', 's661292473', 's547309431']
[2940.0, 3316.0, 2940.0, 2940.0]
[18.0, 21.0, 17.0, 18.0]
[53, 62, 51, 67]
p03219
u692422364
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input().split())\nprint(x + y/2)', 'x,y = map(int,input().split())\nprint int(x + y/2)', 'x,y = map(int,input().split())\nprint (int(x + y/2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s306747745', 's644076840', 's244152721']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[45, 49, 51]
p03219
u693933222
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['list = input().split(" ")\nprint(str(int(list[0])+int(list[1])))', 'print(int(input())+Int(input())/2)', 'X, Y = map(int, input().split())\n\nprint(X + Y/2)', 'print(int(input())+int(input())/2)', 'X, Y = map(int, input().split())\n\nprint(int(X + Y/2))']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s551231113', 's552701561', 's601086863', 's989386915', 's788998824']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[63, 34, 48, 34, 53]
p03219
u696444274
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['data = list(map(int,input().split()))\n\nprint(data[0]+data[1]/2)\n', 'data = list(map(int,input().split()))\n\nprint(int(data[0]+data[1]/2))\n']
['Wrong Answer', 'Accepted']
['s426636375', 's697953527']
[2940.0, 2940.0]
[17.0, 17.0]
[64, 69]
p03219
u698988260
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X,Y = map(int, input().split())\nprint(int(X+(Y/2))', 'X,Y = map(int, input().split())\nprint(int(X+(Y/2)))\n']
['Runtime Error', 'Accepted']
['s167550120', 's436066890']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 52]
p03219
u702018889
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y=map(int,input().split())\nprint(x*(y/2))', 'x,y=map(int,input().split())\nprint(x+(y/2))', 'x,y=map(int,input().split())\nprint(int(x+(y/2)))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s116361346', 's810435771', 's749156714']
[9140.0, 9088.0, 9152.0]
[27.0, 29.0, 24.0]
[43, 43, 48]
p03219
u702582248
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y=map(int, input().split())\nprint(min([x+y//2, x//2+y]))', 'x,y=map(int, input().split())\nprint(x+y//2)']
['Wrong Answer', 'Accepted']
['s705746158', 's549155153']
[2940.0, 3060.0]
[17.0, 19.0]
[58, 43]
p03219
u703890795
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input().split())\nprint(X+Y/2)', 'X, Y = map(int, input().split())\nprint(X+Y//2)']
['Wrong Answer', 'Accepted']
['s148296238', 's244291713']
[2940.0, 2940.0]
[18.0, 17.0]
[45, 46]
p03219
u704001626
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['b = list(map(int,input().split()))\nprint(b[0] + b[1])\n', '# -*- coding: utf-8 -*-\nb = list(map(int,input().split()))\nprint(b[0] + b[1]/2)\n', '# -*- coding: utf-8 -*-\nb = list(map(int,input().split()))\nprint(int(b[0] + b[1]/2))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s006211498', 's713555664', 's508783740']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[54, 80, 85]
p03219
u709630872
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['N = int(input())\nT,A = map(int,input().split())\nh = list(map(int,input().split()))\n\nans = 0\nbase = T - 0.06*h[0]\nfor i,n in enumerate(h):\n if(i==0):\n pass\n tem = T - 0.006*n\n if(abs(tem - A)<abs(base - A)):\n base = tem\n ans = i+1\n else:\n ans = 1\nprint(ans)\n', 'x, y = map(int,input().split())\nans = x + (1/2)*y\nprint(ans)', 'N = int(input())\nT,A = map(int,input().split())\nh = list(map(int,input().split()))\n\nans = 0\nbase = T - 0.006*h[0]\nfor i,n in enumerate(h):\n if(i==0):\n pass\n tem = T - 0.006*n\n if(abs(tem - A)<abs(base - A)):\n base = tem\n ans = i+1\n else:\n ans = 1\nprint(ans)\n', 'x, y = map(int,input().split())\ny = 1/2 * y\nans = int(x + y)\nprint(ans)\n']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s438261184', 's694600095', 's718579743', 's099065030']
[3060.0, 2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[308, 60, 309, 72]
p03219
u711539583
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y = map(int, input())\nprint(x + y // 2)', 'x, y = map(int, input().split())\nprint(x + y // 2)\n']
['Runtime Error', 'Accepted']
['s272731919', 's835676250']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 51]
p03219
u712975113
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['N,M = map(int,input().split())\nPY=[list(map(int,input().split()))+[0] for _ in range(M)]\nsort_PY=sorted(PY,key=lambda x:x[1])\nc={}\nfor i in range(M):\n p=sort_PY[i][0]\n if(p in c):\n c[p]+=1\n else:\n c[p]=1\n sort_PY[i][2]=c[p]\nfor p,y,z in PY:\n print(str(p).zfill(6)+str(z).zfill(6))', 'X,Y=map(int,input().split())\nprint(X+int(Y/2))']
['Runtime Error', 'Accepted']
['s402433865', 's578565903']
[3064.0, 2940.0]
[18.0, 18.0]
[309, 46]
p03219
u714213255
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int, input().split())\nprint("{}".format(x + (y/2)))', 'X,Y = map(int, intput().split())\nprint("{}".format(X+(Y/2)))', "x,y = map(int,input().split())\nprint('{}'.format(int(x+(y/2))))"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s341924842', 's567901733', 's342036140']
[3316.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0]
[61, 60, 63]
p03219
u714225686
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['A, B = list(map(int, input().split()))\nprint(A + (B / 2))', 'import sys\nif __name__ == "__main__":\n N, M = map(int, sys.stdin.readline().split())\n P = [0] * (N + 1)\n C = [0] * M\n\n for m in range(M):\n p, y = map(int, input().split())\n C[m] = [m, p, y, 0]\n C.sort(key=lambda x :x[2])\n\n for c in C:\n P[c[1]] += 1\n c[3] = P[c[1]]\n C.sort(key=lambda x :x[0])\n\n for c in C:\n print("{}{}".format(str(c[1]).zfill(6), str(c[3]).zfill(6)))', 'A, B = list(map(int, input().split()))\nprint(A + (B // 2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s171937100', 's183707314', 's875721924']
[2940.0, 3064.0, 2940.0]
[17.0, 18.0, 17.0]
[57, 427, 58]
p03219
u716043626
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int,input().split())\nprint(X + Y/2)', 'X, Y = map(int,input().split())\nprint(X + Y // 2)']
['Wrong Answer', 'Accepted']
['s164958692', 's858476939']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 49]
p03219
u720124072
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y = map(int, input().split())\nprint(x + y/2)', 'x, y = map(int, input().split())\nprint(int(x + y/2))']
['Wrong Answer', 'Accepted']
['s755810609', 's338652790']
[2940.0, 2940.0]
[17.0, 17.0]
[47, 52]
p03219
u728498511
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['list = input().split\nX = list[0]\nY = list[1]\n\nprice = X + Y/2\nprint(price)', 'x, y = map(int, input().split())\nprint(x+y/2)', 'list = input().split()\nX = list[0]\nY = list[1]\n\nprice = X + Y/2\nprint(price)', 'list = input().split()\nX = list[0]\nY = list[1]\n\nprice = int(X) + int(Y)/2\nprint(price)', 'list = input().split()\nX = list[0]\nY = list[1]\n\nprice = int(X) + (int(Y)/2)\nprint(price)', 'x, y = map(int, input().split())\nprint(x+round(y/2))']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s123006958', 's123587349', 's376089423', 's544617415', 's678842781', 's368575039']
[2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 3188.0]
[17.0, 18.0, 20.0, 17.0, 19.0, 19.0]
[74, 45, 76, 86, 88, 52]
p03219
u729008627
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['import numpy as np\nH, W, K = map(int, input().split())\np = 10**9 + 7\nr = [1, 1, 2, 3, 5, 8, 13, 21, 34]\ndp = np.zeros([H + 1, W], dtype=int)\ndp[0, 0] = 1\nfor h in range(H):\n for w in range(W):\n if w != 0:\n dp[h+1, w] += ((dp[h, w-1] * r[w-1])%p * r[W-1-w])%p\n dp[h+1, w] += ((dp[h, w] * r[w])%p * r[W-1-w])%p\n if w != W-1:\n dp[h+1, w] += ((dp[h, w+1] * r[w])%p * r[W-2-w])%p\n dp[h+1, w] = dp[h+1, w]%p\nprint(dp[H, K-1])', 'X, Y = map(int, input().split())\nprint(X + Y//2)']
['Runtime Error', 'Accepted']
['s585279047', 's148011926']
[12396.0, 2940.0]
[153.0, 17.0]
[472, 48]
p03219
u729133443
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["print(eval(input().replace(' ','+0.5*'))", "print(eval(input().replace(' ','+0.5*')))", 'a,b=map(int,input().split())\nprint(a+b//2)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s262076446', 's877905761', 's803011494']
[2940.0, 2940.0, 9096.0]
[17.0, 17.0, 24.0]
[40, 41, 42]
p03219
u730710086
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['# -*- coding: <encoding name> -*-\n\nX, Y = map(int, input())\nprint(X + Y // 2)', '# -*- coding: <encoding name> -*-\n\nX, Y = map(int,input().split())\nprint(X + Y // 2)']
['Runtime Error', 'Accepted']
['s382098184', 's488976703']
[2940.0, 2940.0]
[17.0, 17.0]
[77, 84]
p03219
u731661484
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input().split())\nprint(x+y/2)', 'x,y =map(int,input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s942301807', 's776392194']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 47]
p03219
u732061897
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["N = int(input())\nT, A = map(int, input().split())\nH_list = list(map(int, input().split()))\n\npre = A\n'''\n3\n21 -11\n81234 52141 94124\n'''\nfor i, h in enumerate(H_list):\n if i == 0:\n ans = i\n pre = T - h * 0.006\n continue\n kion = T - h * 0.006\n if abs(A - kion) < abs(A - pre):\n #print(kion)\n #print(pre)\n #print(abs(A - kion),'kion')\n #print(abs(A - pre),'pre')\n ans = i\nprint(ans + 1)", 'X,Y = map(int,input().split())\nprint(X + Y //2)\n']
['Runtime Error', 'Accepted']
['s969947003', 's535728771']
[3064.0, 9148.0]
[17.0, 24.0]
[447, 48]
p03219
u732465302
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x=int(input())\ny=int(input())\nprint(x+y//2)', 'x,y=(int(n) for n in input().split())\nprint(x+y//2)']
['Runtime Error', 'Accepted']
['s124038228', 's917847215']
[2940.0, 2940.0]
[18.0, 18.0]
[43, 51]
p03219
u732870425
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input().split())\n\nyen = x + y/2\nprint(yen)', 'x,y = map(int, input().split())\n\nprint(x+y/2)', 'n = int(input())\nt, a = map(int, input().split())\nh = list(map(int, input().split()))\n\nli = []\nfor i in range(len(h)):\n li.append(abs(a - t - h[i]*0.006))\n \nprint(li.index(min(li)))', 'n = int(input())\nt, a = map(int, input().split())\nh = list(map(int, input().split()))\n\nli = []\nfor i in range(len(h)):\n li.append(abs(a - (t - h[i]*0.006)))\n \nprint(li.index(min(li)))', 'x,y = map(int,input().split())\n\nyen = x+y/2\nprint(int(yen))']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s326246023', 's855220215', 's891035997', 's938435784', 's273865358']
[2940.0, 2940.0, 3060.0, 3060.0, 2940.0]
[17.0, 18.0, 18.0, 18.0, 18.0]
[56, 45, 183, 185, 59]
p03219
u734548018
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['input = sys.stdin.readline\n\na, b = map(int, input().rstrip().split())\nprint(a + b // 2)', "input = sys.stdin.readline\n\na, b = map(int, input().rstrip().split())\nprint(a + b // 2)# -*- coding: utf-8 -*-\n\nimport math\nimport sys\nfrom operator import itemgetter\ninput = sys.stdin.readline\n\n# a = int(input().rstrip())\n# a, b = map(int, input().rstrip().split())\n# D = list(map(int, input().rstrip().split()))\n# H = [int(input().rstrip()) for _ in range(L)]\n# DD = [[0 for j in range(100)] for i in range(200)]\n\n\n# a = sorted(a, key=lambda x: x[1]))\n# if __name__ == '__main__':\n\na, b = map(int, input().rstrip().split())\nprint(a + b // 2)", 'x, y = map(int, input().split())\nprint(x + y // 2)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s605402418', 's752726135', 's639979906']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[87, 568, 50]
p03219
u734876600
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b = ma-(int,input().split())\nprint(a + (b//2))', 'a,b = ma-(int,input().split())\nprint(a + (b/2))', 'a,b = map(int,input().split())\nprint(a + (b//2))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s466674106', 's559028738', 's216030258']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[48, 47, 48]
p03219
u735008991
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['print(int(input()) + int(input())//2)\n', 'x, y = map(int, input().split())\nprint(x + y//2)\n']
['Runtime Error', 'Accepted']
['s318723647', 's404509481']
[2940.0, 2940.0]
[17.0, 17.0]
[38, 49]
p03219
u735069283
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s143289772', 's418965377']
[2940.0, 2940.0]
[17.0, 17.0]
[41, 46]
p03219
u735211927
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input().split())\nprint(x/2+y)', 'x,y = map(int,input().split())\nprint(x+y/2)', 'x,y = map(int,input().split())\nprint(int(x + y/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s195215010', 's432425499', 's456044921']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[43, 43, 50]
p03219
u736479342
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y = map(int, input().split())\na = x + y/2\nprint(a)', 'x, y = map(int, input().split())\na = x + y/2\nprint(int(a))']
['Wrong Answer', 'Accepted']
['s828036484', 's434166771']
[9108.0, 9068.0]
[29.0, 25.0]
[53, 58]
p03219
u742087517
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b= map(int, input())\nprint(a+(b//2))', 'a,b= map(int, input().split())\nprint(a+(b//2))']
['Runtime Error', 'Accepted']
['s474720199', 's696093878']
[2940.0, 2940.0]
[17.0, 17.0]
[38, 46]
p03219
u742729271
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input().split())\nprint(X+Y/2) ', 'X, Y = map(int, input().split())\nprint(int(X+Y/2))']
['Wrong Answer', 'Accepted']
['s949804493', 's170836453']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 50]
p03219
u743723823
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y = map(int, input().split())\nprint(x + y / 2)\n', 'x, y = map(int, input().split())\nprint(int(x + y / 2))\n']
['Wrong Answer', 'Accepted']
['s915856256', 's878009361']
[2940.0, 2940.0]
[18.0, 18.0]
[50, 55]
p03219
u744920373
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['import sys\nsys.setrecursionlimit(10**8)\ndef ii(): return int(sys.stdin.readline())\ndef mi(): return map(int, sys.stdin.readline().split())\ndef li(): return list(map(int, sys.stdin.readline().split()))\ndef li2(N): return [list(map(int, sys.stdin.readline().split())) for _ in range(N)]\ndef dp2(ini, i, j): return [[ini]*i for _ in range(j)]\ndef dp3(ini, i, j, k): return [[[ini]*i for _ in range(j)] for _ in range(k)]\n\n#from collections import defaultdict #d = defaultdict(int) d[key] += value\n\ndef ume(x):\n x = str(x)\n if len(x) < 6:\n return \'0\'*(6-len(x)) + x\n return x\n\ndef main():\n N, M = mi()\n\n l = dp2(0, 3, M)\n cnt = [0]*(N+1)\n ans = dp2(0, 2, M)\n for i in range(M):\n p, y = mi()\n l[i][0], l[i][1], l[i][2] = p-1, y, i\n cnt[p] += 1\n for i in range(N):\n cnt[i+1] += cnt[i]\n\n l.sort(key=lambda x: x[0])\n for i in range(N):\n ichibu = l[cnt[i]:cnt[i+1]]\n ichibu.sort(key=lambda x: x[1])\n for j in range(cnt[i+1]-cnt[i]):\n ans[ichibu[j][2]][0] =ichibu[j][0]+1\n ans[ichibu[j][2]][1] =j+1\n \n for x, y in ans:\n print(ume(x)+ume(y))\n\n\nif __name__ == "__main__":\n main()', 'import sys\nsys.setrecursionlimit(10**8)\ndef ii(): return int(sys.stdin.readline())\ndef mi(): return map(int, sys.stdin.readline().split())\ndef li(): return list(map(int, sys.stdin.readline().split()))\ndef li2(N): return [list(map(int, sys.stdin.readline().split())) for _ in range(N)]\ndef dp2(ini, i, j): return [[ini]*i for _ in range(j)]\n\n#from collections import defaultdict #d = defaultdict(int) d[key] += value\n#from collections import Counter # a = Counter(A).most_common()\n#from itertools import accumulate #list(accumulate(A))\n\nA, B = mi()\n\nprint(A + B // 2)']
['Runtime Error', 'Accepted']
['s337798715', 's265472626']
[3192.0, 8876.0]
[18.0, 26.0]
[1234, 606]
p03219
u745561510
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['N, M = map(int,input().split())\nall_city = [list(map(int,input().split())) for i in range(M)]\n\ncity = {}\nfor i in all_city:\n if i[0] in city:\n city[i[0]].append(i[1])\n else:\n city[i[0]] = [i[1]]\n\n\n\nfor i,k in city.items():\n city[i] = sorted(k)\n\ndef change_Prefecture_code(prefecture):\n return str(prefecture).zfill(6)\n\ndef change_birth_code(birth_num):\n return str(birth_num).zfill(6)\n\nfor i in all_city:\n print(change_Prefecture_code(i[0]) + change_birth_code(city[i[0]].index(i[1]) + 1))', 'X, Y = map(int, input().split())\nprint(X + Y / 2)', 'X, Y = map(int, input().split())\nprint(int(X + Y / 2))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s925728905', 's999115308', 's895215640']
[3064.0, 3064.0, 2940.0]
[18.0, 17.0, 17.0]
[521, 49, 54]
p03219
u745562158
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input().split())\nprint(X+(Y/2))', 'X, Y = map(int, input())\nprint(X+(Y/2))', 'X, Y = map(int, input().split())\nprint(X+(Y//2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s239076586', 's724610921', 's494949565']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[47, 39, 48]
p03219
u747873993
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X,Y=(int(i) for i in input().split())\nprint(X+Y/2)', 'import numpy as np\nN=int(input())\nT,A=(int(i) for i in input().split())\nH=[int(i) for i in input().split()]\nT=np.array([T for i in range(N)])\nprint(abs(A-(T-H*0.006)).argmin())', 'X,Y=(int(i) for i in input().split())\nprint(int(X+Y/2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s133715751', 's413929769', 's041034573']
[2940.0, 12392.0, 2940.0]
[17.0, 156.0, 17.0]
[50, 176, 55]
p03219
u748135969
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a, b = map(int, input().split())\nprint(a + b / 2)', 'a, b = map(int, input().split())\n\nprint(a + b // 2)']
['Wrong Answer', 'Accepted']
['s578669606', 's137625414']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 51]
p03219
u748311048
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['A,B=map(int, input().split())\nprint(A+B/2)', 'X,Y=map(int, input().split())\nprint(X+Y//2)']
['Wrong Answer', 'Accepted']
['s422322877', 's257946286']
[2940.0, 2940.0]
[17.0, 19.0]
[42, 43]
p03219
u748452487
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X,Y=(int(x) for x in input().split())\nprint(X+Y/2)', 'X,Y=(int(x) for x in input().split())\nprint(int(X+Y/2))']
['Wrong Answer', 'Accepted']
['s956485323', 's892993952']
[2940.0, 3060.0]
[18.0, 19.0]
[50, 55]
p03219
u750307104
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x=input("X:")\ny=input("Y:")\nz=x+y/2\nprint(z)', 'x=int(input("X:"))\ny=eval(input("Y:"))\nz=x+y/2\nprint(z)\n', 'f=input.split(" ")\nx=f[1]\ny=f[2]\nz=x+y/2\nprint(z)\n', 'f=input("string is:")\nnumber=f.split(" ")\nx=number[1]\ny=number[2]\nz=x+y/2\nprint(z)', 'f=input().split(" ")\nx=f[1]\ny=f[2]\nz=x+y/2\nprint(z)\n', 'list=input().split("\\n")\nnumber=int(list[0])\nlist_2=list[1].split(" ")\nt=int(list_2[0])\na=int(list_2[1])\nlist_3=list[2].spilit(" ")\nindex=1\nmin=abs(a-(t-int(list_3[0])))\ntarget_index=1\nfor height in list_3:\n temp=t-int(height)*0.006\n diff=abs(a-temp)\n if diff < min :\n min = diff\n target_index = index\n index += 1 \nprint(target_index)', 'f=input()\nnumber=f.split(" ")\nx=number[1]\ny=number[2]\nz=x+y/2\nprint(z)\n', 'x=int(input("X:"))\ny=int(input("Y:"))\nz=x+y/2\nprint(z)\n', 'number=input().split(" ")\nx=int(number[0])\ny=int(number[1])\nz=x+y/2\nprint(int(z))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s145711347', 's214881825', 's217432262', 's380647421', 's540923062', 's630738574', 's773568153', 's964411760', 's624555223']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[44, 56, 50, 82, 52, 363, 71, 55, 81]
p03219
u760961723
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X,Y = map(int,input().split())\n\nprint(X+Y/2)', 'X,Y = map(int,input().split())\n \nprint(int(X+Y/2))']
['Wrong Answer', 'Accepted']
['s393677567', 's147226010']
[2940.0, 2940.0]
[19.0, 17.0]
[44, 50]
p03219
u764956288
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['N,M = map(int, input().split())\ncitys = [list(map(int,input().split()))+[i] for i in range(M)]\n\ncitys.sort(key = lambda x:x[1])\nnums = [0]*(N+1)\nstates = [None]*M\n\nfor p,y,i in citys:\n nums[p] += 1\n states[i] = [str(p), str(nums[p])]\n\nfor s in states:\n print(s[0].zfill(6)+s[1].zfill(6))', 'N,M = map(int, input().split())\ncitys = [list(map(int,input().split()))+[i] for i in range(M)]\n\ncitys.sort(key = lambda x:x[1])\nnums = [0]*(N+1)\nstates = [None]*(M+1)\n\nfor p,y,i in citys:\n nums[p] += 1\n states[i] = [str(p), str(nums[p])]\n\nfor s in states:\n print(s[0].zfill(6)+s[1].zfill(6))', 'X,Y = map(int, input().split())\n\nprint(X+Y/2)', 'X,Y = map(int, input().split())\n\nprint(int(X+Y/2))']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s479068892', 's761334164', 's986405607', 's533682781']
[3064.0, 3064.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 18.0]
[296, 300, 45, 50]
p03219
u765815947
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y =map(int, input().split())\nprint(x + y/2)', 'x, y =map(int, input().split())\nprint(int(x + y/2))']
['Wrong Answer', 'Accepted']
['s248547568', 's527385617']
[2940.0, 2940.0]
[18.0, 17.0]
[46, 51]
p03219
u768559443
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['print(int(input())+(int(input())//2))', 'x,y=map(int,input().split())\nprint(x+(y//2))']
['Runtime Error', 'Accepted']
['s349525994', 's842677724']
[2940.0, 2940.0]
[17.0, 17.0]
[37, 44]
p03219
u776311944
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input().split())\n\nprint(X+(Y/2))', 'X, Y = map(int, input().split())\n\nprint(int(X+(Y/2)))']
['Wrong Answer', 'Accepted']
['s338024064', 's198675761']
[3316.0, 2940.0]
[20.0, 17.0]
[48, 53]
p03219
u776800336
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["x, y = input().strip().split(' ')\nx, y = [int(x), int(y)]\n\nprint(x + y/2)", "x, y = input().strip().split(' ')\nx, y = [int(x), int(y)]\n\nprint(int(x + y/2))\n"]
['Wrong Answer', 'Accepted']
['s724616164', 's049566033']
[2940.0, 2940.0]
[18.0, 17.0]
[73, 79]
p03219
u776871252
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input().split())\n\nprint(X + (Y / 2))\n', 'X, Y = map(int, input().split())\n\nprint(int(X + (Y / 2)))\n']
['Wrong Answer', 'Accepted']
['s268095438', 's347830118']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 58]
p03219
u777028980
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['A,B=map(int, input().split())\nprint(A+B/2)\n', 'A,B=map(int, input().split())\nprint(int(A+B/2))']
['Wrong Answer', 'Accepted']
['s766192535', 's900502062']
[2940.0, 2940.0]
[18.0, 18.0]
[43, 47]
p03219
u777394984
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a, b = (int(i) for i in input().split())\nprint((a + b) / 2)\n', 'a,b = map(int,input())\nprint((a+b)/2)', 'N, M = map(int, input().split())\nPM = []\nfor i in range(N):\n PM = input().split()\n P = str(PM[0]).zfill(6)\n M = str(PM[1]).zfill(6)\n print(P + M)', 'X,Y=map(int,input().split())\nprint(X+Y/2)', 'a,b = map(int,input().split)\nprint((a+b)/2)', 'a, b = (int(i) for i in input().split())\nprint("{}".format((a + b) / 2))', 'X,Y=map(int,input().split())\nprint(X+Y//2)']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s119601899', 's256816309', 's410535655', 's423539467', 's523895290', 's875507044', 's264059308']
[2940.0, 2940.0, 3316.0, 2940.0, 2940.0, 3060.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 18.0, 17.0]
[60, 37, 149, 41, 43, 72, 42]
p03219
u778814286
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a, b = map(int, input().split())\n \nprint(a + (b / 2))', 'a, b = map(int, input())\n\nprint(a + (b / 2))', 'a, b = map(int, input().split())\n \nprint(round(a + (b / 2)))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s138374705', 's942107731', 's586367778']
[2940.0, 2940.0, 3060.0]
[17.0, 18.0, 18.0]
[53, 44, 60]
p03219
u779857052
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['lis = input().split()\nlis = [int(lis[i]) for i in range(2)]\n\nprint(lis[0] + lis[1]/2)', 'lis = input().split()\nlis = [int(lis[i]) for i in range(2)]\n\nprint(int(lis[0] + lis[1]/2))\n']
['Wrong Answer', 'Accepted']
['s640235657', 's316714388']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 91]
p03219
u780269042
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input().split())\nprint(x+y/2)', 'import math\nn = int(input())\nt,a = map(int,input().split())\nhight = list(map(int, input().split()))\nans = 100000\nansnumber = 0\nfor num,i in enumerate(hight):\n tmp = math.fabs(i - a)\n if ans > tmp:\n ans = tmp\n ansnumber = num+1\nprint(ansnumber)', 'a, b = (int(i) for i in input().split()) \necho(a, b)', 'x = int(input())\ny = int(input())\nprint(x + y/2)', 'x,y = input().split\nprint(int(x)+int(y)/2)\n', 'import math\nn = int(input())\nt,a = map(int,input().split())\nhight = list(map(int, input().split()))\nans = 100000\nansnumber = 0\n\nfor num,i in enumerate(hight):\n tmp = math.fabs(t-i*0.006 - a)\n if ans > tmp:\n ans = tmp\n ansnumber = num+1', 'x,y = input().split()\nprint(int(x)+int(y)/2)', 'a,b = (int(i) for i in input().split()) \nc = a + b/2\nprint(c)', 'x,y = map(int ,input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s097294937', 's097837400', 's260341341', 's263486910', 's264817586', 's369577564', 's583087524', 's930092254', 's917954363']
[2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 48.0, 17.0, 17.0]
[43, 265, 53, 48, 43, 257, 44, 62, 49]
p03219
u782025294
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['#!/usr/bin/env python3\n\nfrom collections import defaultdict\n\ndef tostring(p,j):\n p = str(p+1)\n j = str(j+1)\n return (6 - len(p))*"0" + p + (6-len(j)) *"0" + j\n\n\nif __name__ == "__main__":\n N, M = map(int, input().split())\n\n py = [[] for _ in range(N)]\n\n dat = [tuple(map(int, input().split())) for _ in range(M)]\n\n for i in range(M):\n p,y = dat[i]\n py[p-1].append((y,i))\n \n for p in range(N):\n py[p] = sorted(py[p])\n \n answer = M * [None]\n\n for p in range(N):\n for j in range(len(py[p])):\n y,i = py[p][j]\n answer[i]= tostring(p,j)\n \n for a in answer:\n print(a)\n\n \n', '#!/usr/bin/env python3\n\nif __name__ == "__main__":\n t,b = map(int, input().split())\n print(t +b//2)\n']
['Runtime Error', 'Accepted']
['s605018353', 's474682219']
[3444.0, 2940.0]
[26.0, 17.0]
[670, 106]
p03219
u782685137
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b=map(int,input().split())\nprint(a+b/2)', 'a,b=map(int,input())\nprint(a+b/2)', 'a,b=map(int,input().split())\nprint(a+b//2)']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s487340615', 's760880566', 's085533145']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[41, 33, 42]
p03219
u783420291
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['A, B = map(int, input().split())\nprint(A+B/2)', 'A, B = map(int, input().split())\nprint(int(A+B/2))']
['Wrong Answer', 'Accepted']
['s618278443', 's102704444']
[2940.0, 2940.0]
[17.0, 18.0]
[45, 50]
p03219
u785578220
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a = list(map(int, input().split()))\n\nprint(inya[0]+a[1]/2)', 'a = list(map(int, input().split()))\n \nprint(int(a[0]+a[1]/2))']
['Runtime Error', 'Accepted']
['s965510105', 's790659292']
[2940.0, 2940.0]
[18.0, 18.0]
[58, 61]
p03219
u785989355
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['\nX,Y=list(map(int,input().split()))\n\nprint(X+Y/2)', '\nX,Y=list(map(int,input().split()))\n \nprint(int(X+Y/2))']
['Wrong Answer', 'Accepted']
['s921996165', 's124887513']
[3316.0, 2940.0]
[19.0, 17.0]
[49, 55]
p03219
u791527495
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X,Y = int(input())\nprint(int(X + Y /2))', 'X,Y = map(int(input().split())\nprint(int(X + Y /2))', 'X,Y = map(int,input().split())\nprint(int(X + Y /2))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s036674492', 's699297435', 's084815226']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[39, 51, 51]
p03219
u792512290
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y = map(int, input().split())\nprint(x + y/2)', 'x, y = map(int, input().split())\nprint(x + y//2)']
['Wrong Answer', 'Accepted']
['s828217531', 's828197590']
[9080.0, 9052.0]
[26.0, 28.0]
[47, 48]
p03219
u797016134
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int, input().split())\nprint(x+(y/2))', 'x,y = map(int, input().split())\nprint(int(x+(y/2)))']
['Wrong Answer', 'Accepted']
['s514184092', 's528880943']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 51]
p03219
u797550216
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,input().split())\nprint(x + y /2)', "n =input()\n\nn = n.replace('9','0')\nn = n.replace('1','9')\nn = n.replace('0','1')\nprint(n)", 'x,y = map(int,input().split())\n\nprint(x + int(y/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s317437925', 's447355945', 's845990319']
[2940.0, 2940.0, 2940.0]
[17.0, 19.0, 17.0]
[46, 89, 51]
p03219
u800780376
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int, input().split())\n\nprint(x + (y/2))', 'x,y = map(int, input().split())\n \nprint(x + int(y/2))']
['Wrong Answer', 'Accepted']
['s608304745', 's460507486']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 53]
p03219
u801512570
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input())\nprint(X+Y//2)', 'X, Y = map(int, input().split())\nprint(X+Y//2)']
['Runtime Error', 'Accepted']
['s257513422', 's665435544']
[2940.0, 2940.0]
[18.0, 18.0]
[38, 46]
p03219
u803481017
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b = map(int,input().split())\nc = b/2 + a\nprint(c)\n', 'a,b = map(int(),input().split())\nprint(a+b/2)', 'a,b = map(int,input().split())\nprint(a+b/2)\n', 'a,b = map(int,input().split())\nc = b/2 + a\nprint(int(c))']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s305934685', 's563169815', 's971328818', 's508327123']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[52, 45, 44, 56]
p03219
u804048521
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["n = input()\nfor i in [0, 1, 2]:\n if n[i] == '1':\n n[i] == '9'\n if n[i] == '9':\n n[i] == '1'\nprint(int(n))", 'X, Y = map(int, input().split())\nprint(int(X + Y/2))']
['Runtime Error', 'Accepted']
['s257366327', 's317365377']
[3064.0, 2940.0]
[17.0, 17.0]
[113, 52]
p03219
u806855121
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["from operator import itemgetter\n\nN, M = map(int, input().split())\n\nci = []\npi = [0] * N\nfor i in range(M):\n ci.append([i] + list(map(int, input().split())))\n\nci.sort(key=itemgetter(1,2))\nfor c in ci:\n pi[c[1]-1] += 1\n prestr = str(c[1]).zfill(6)\n bhstr = str(pi[c[1]-1]).zfill(6)\n c.append(''.join([prestr, bhstr]))\n\nci.sort()\nfor c in ci:\n print(c[3])", 'X, Y = map(int, input().split())\n\nprint(X+Y//2)\n']
['Runtime Error', 'Accepted']
['s037731620', 's305224796']
[3064.0, 2940.0]
[19.0, 17.0]
[370, 49]
p03219
u811000506
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b = list(map(int,input().split())\nprint(a+b//2)', 'a,b = map(int,input().split())\nprint(a+b//2)']
['Runtime Error', 'Accepted']
['s590836019', 's512308616']
[2940.0, 2940.0]
[18.0, 18.0]
[49, 44]
p03219
u811436831
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['s = input().split()\nprint(int((s[0])+(int(s[1]))/2))', 's = input().split()\nN = int(s[0])\nW = int(s[1])/2\nprint(N+W)\n', 's = input().split()\nw = int(s[1])/2\nprint(int((s[0])+w)', 's = input().split()\nprint(int((s[0])+int(s[1]))/2)', 's = input().split()\nprint(int(s[0])+int(s[1])/2)', 's = input().split()\nN = int(s[0])\nW = int(s[1])/2\nprint(int(N+W))']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s580199081', 's651475904', 's784796491', 's853477770', 's872357156', 's342807314']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 19.0]
[52, 61, 55, 50, 48, 65]
p03219
u813098295
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input().split())\nprint(X+Y//2.0)', 'X, Y = map(int, input().split())\nprint(X+Y//2)\n']
['Wrong Answer', 'Accepted']
['s867828736', 's456002776']
[2940.0, 2940.0]
[18.0, 18.0]
[48, 47]
p03219
u813916554
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b=input().split()\na=int(a)\nb=int(b)\nprint(a+b/2)', 'a,b=input().split()\na=float(a)\nb=float(b)\nprint(a+b/2)\n', 'a,b=input().split()\na=int(a)\nb=int(b)\nprint("%.0d"%(a+b/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s078700307', 's766183366', 's745596296']
[2940.0, 3060.0, 2940.0]
[18.0, 19.0, 18.0]
[50, 55, 59]
p03219
u816587940
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a = input().split()\nprint(a[0] + a[1]/2)', 'a = list(map(int, input().split()))\nprint(int(a[0] + a[1]/2))']
['Runtime Error', 'Accepted']
['s156842546', 's885214327']
[2940.0, 2940.0]
[17.0, 17.0]
[40, 61]
p03219
u816732092
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["import numpy as np \nn , m = map(int, input().split())\nl = np.array([list(map(int, input().split())) for _ in range(m)])\nl2 = np.zeros(m)\n\nl2 = l[:,0]*(10**6) + l[:,1]\nl2 = np.sort(l2)\n\nj = 1000000\nk = 1\nfor i in range(m):\n if j+1000000 > l2[i]:\n l2[i] = j + k\n k += 1\n else :\n j += 1000000\n l2[i] = j + 1\n k = 2\n\nfor i in l2 :\n print('{0:012d}'.format(i))\n\n\n ", 'x , y = map(int, input().split())\nprint(int(x+y/2))']
['Runtime Error', 'Accepted']
['s874477693', 's227475768']
[12424.0, 2940.0]
[149.0, 19.0]
[406, 51]
p03219
u816919571
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['#coding : UTF-8\nx,y = input.split()\nprint(int(x)+int(y/2))', '#coding : UTF-8\nx,y = map(int,input().split())\nprint(x+y/2)', '#coding : UTF-8\nx,y = map(int,input().split())\nprint(int(x+y/2))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s109269097', 's356332679', 's364027407']
[2940.0, 3060.0, 2940.0]
[17.0, 19.0, 17.0]
[58, 59, 64]
p03219
u818218162
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['p_y = []\np_y_dict = {}\n\nN, M = map(int, input().split())\nfor i in range(M):\n p, y = map(int, input().split())\n p_y.append([p, y])\n p_y_dict.setdefault(p, []).append(y)\n\nsorted_py_dict = {p: sorted(y) for p, y in p_y_dict.items()}\n\nfor a in p_y: \n print(str(a[0]).zfill(6) + str(sorted_py_dict[a[0]].index(a[1]) + 1).zfill(6))\n \n ', 'X, Y = map(int, input().split())\nprint(X + Y//2)']
['Runtime Error', 'Accepted']
['s113985637', 's044327870']
[3060.0, 2940.0]
[18.0, 17.0]
[335, 48]
p03219
u821802586
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y = map(int, input().split())\nprint(x + y / 2)', 'x, y = map(int, input().split())\nprint(x + y // 2)']
['Wrong Answer', 'Accepted']
['s164966231', 's922457838']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 50]
p03219
u827874033
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['n = int(input())\nt, a = map(int,input().split())\nli = list(map(int,input().split()))\nn_temp = 2147483647\nanswer = 2147483647\nfor idx, temp in enumerate(li):\n i_temp = int(t - temp * 0.006)\n if (abs(a - n_temp) > abs(a -i_temp)):\n n_temp = i_temp\n answer = idx\n\nprint(answer+1)\n', 'x, y = map(int,input().split())\nanswer = x + y//2\nprint(answer)']
['Runtime Error', 'Accepted']
['s956684320', 's830179429']
[3060.0, 2940.0]
[17.0, 17.0]
[297, 63]
p03219
u832409298
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['input_array = []\nwhile True:\n try:\n input_array.append(input().split())\n except:\n break\nfor i in input_array:\n print(int(i[0] + i[1]/2))', 'input_array = []\nwhile True:\n try:\n input_array.append(input())\n except:\n break\n \ninput_array = [[81 ,58],[4 ,54]]\nfor i in input_array:\n print(int(i[0] + i[1]/2))', 'import sys\ninput = sys.stdin.readline\n\ninput_array = []\ninput_array.append(input().split())\n\nfor i in input_array:\n print(int(int(i[0]) + int(i[1])/2))\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s203681744', 's562908329', 's087446441']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[159, 193, 155]
p03219
u833492079
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X, Y = map(int, input().split())\t\t# 5 7\n\nprint(X + (Y/2))', 'X, Y = map(int, input().split())\t\t# 5 7\n\nprint( int(X + (Y/2)) )']
['Wrong Answer', 'Accepted']
['s430914037', 's491668473']
[2940.0, 2940.0]
[17.0, 23.0]
[57, 64]
p03219
u840958781
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(x+y//2)']
['Wrong Answer', 'Accepted']
['s283403086', 's114530473']
[2940.0, 2940.0]
[17.0, 17.0]
[41, 42]
p03219
u843318346
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = map(int,inpu().split())\nprint(x+int(y/2))', 'x,y = map(int,input().split())\nprint(x+int(y/2))\n']
['Runtime Error', 'Accepted']
['s074035638', 's670567338']
[2940.0, 2940.0]
[17.0, 17.0]
[47, 49]
p03219
u844005364
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a, b = map(int, input().split())\n\nprint(a + b / 2)', 'a, b = map(int, input().split())\n\nprint(a + b // 2)\n']
['Wrong Answer', 'Accepted']
['s640749204', 's042231583']
[2940.0, 2940.0]
[17.0, 19.0]
[50, 52]
p03219
u844902298
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x,y = list(map(input().split()))\nprint(x+y//2)', 'x,y = list(map(int,input().split()))\nprint(x+y//2)']
['Runtime Error', 'Accepted']
['s866057808', 's735185224']
[2940.0, 2940.0]
[17.0, 18.0]
[46, 50]
p03219
u845937249
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b = map(int,input().split())\n\nprint(a+b/2)\n\n\n', 'a,b = map(int,input().split())\n\nprint(a+int(b/2))\n\n\n']
['Wrong Answer', 'Accepted']
['s622221570', 's032518908']
[2940.0, 3064.0]
[17.0, 17.0]
[47, 52]
p03219
u846652026
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a,b=map(int, input().split())\nprint(a+b/2)', 'a,b=map(int, input().split())\nprint(int(a+b/2))']
['Wrong Answer', 'Accepted']
['s897671205', 's248992853']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 47]
p03219
u847033024
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['a, b = map(int, input().split())\nprint(a + b / 2)', 'a, b = map(int, input().split())\nprint(a + b // 2)']
['Wrong Answer', 'Accepted']
['s564917115', 's741318008']
[9092.0, 9092.0]
[30.0, 27.0]
[49, 50]
p03219
u847165882
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X,Y=int(input().split())\nprint((X+Y)//2)', 'X,Y=int(input())\nprint((X+Y)//2)', 'X,Y=int(input())\nprint(X+Y//2)', 'X,Y=map(int,input().split())\nprint((X+Y)//2)', 'X,Y=map(int,input().split())\nprint(X+Y//2)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s171086140', 's264337176', 's389890134', 's448006409', 's030463302']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[40, 32, 30, 44, 42]
p03219
u847901871
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['strX, strY = input().split()\nx = int(strX)\ny = int(strY)\ny = y / 2\nprint(x + y)', 'import math\nx, y = map(int,input().split())\ny = y / 2\nprint(math.floor(x + y))']
['Wrong Answer', 'Accepted']
['s716940575', 's114135283']
[2940.0, 2940.0]
[17.0, 17.0]
[79, 78]
p03219
u850997975
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["X,Y = int(input.split(' '))\nprint(X + (Y/2))", "X,Y = int(input().split(' '))\nprint(X + (Y/2))", "X,Y = input().split(' ')\nx = int(X)\ny = int(Y)\n\nprint(x + (y//2))"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s281829202', 's914461655', 's952504797']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[44, 46, 65]
p03219
u851704997
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['X,Y = map(int,input().split())\nprint(X + Y / 2)', 'X,Y = int(input())\nprint(X + Y / 2)', 'X,Y = map(int,input().split())\nprint(X + Y // 2)\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s008973885', 's527762083', 's481144421']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[47, 35, 49]
p03219
u855380359
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
['x, y = map(int, input().split())\n\nz = x+y/2\nprint(z)', 'x, y = map(int, input().split())\n\nprint(x+y/2)', 'x, y = map(int, input().split())\n\nprint(int(x+y/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s584626779', 's871965688', 's629042295']
[9144.0, 9060.0, 9156.0]
[26.0, 25.0, 25.0]
[52, 46, 51]
p03219
u855985627
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket?
["x,y=(int(i) for i in input().split(' ')\nprint(x+y//2)", "x,y=(int(i) for i in input().split(' '))\nprint(x+y//2)"]
['Runtime Error', 'Accepted']
['s572546805', 's810460057']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 55]