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 | u129978636 | 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 \nK = []\nKsorted=[]\ntmp=[]\n \nfor i in range(N):\n tmp.append( T - H[i] * 0.006)\n K.append(abs( A - tmp[i]))\n Ksorted = sorted(K)\n \nT = K.index(Ksorted[0])', 'N = int(input())\nT, A = map( int, input().split())\nH = list( map( int, input.split()))\n \nK = []\nKsorted=[]\ntmp=[]\n \nfor i in range(N):\n tmp.append( T - H[i] * 0.006)\n K.append(abs( A - tmp[i]))\n Ksorted = sorted(K)\n \nT = K.index(Ksorted[0])\nprint(T+1)', 'x, y = map( int, input().split())\nprint( int( x + y/ 2))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s106839282', 's914867019', 's727439985'] | [3188.0, 3064.0, 2940.0] | [19.0, 18.0, 17.0] | [252, 263, 56] |
p03219 | u130645445 | 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\nans = X + Y/2\n\nprint(ans)\n', 'X,Y=map(int,input().split())\nans=X + Y//2\n\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s876561422', 's124273712'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 53] |
p03219 | u131406572 | 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)'] | ['Runtime Error', 'Accepted'] | ['s424359026', 's776216510'] | [2940.0, 2940.0] | [18.0, 18.0] | [42, 42] |
p03219 | u132583371 | 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'] | ['s442494552', 's574055739'] | [9004.0, 8948.0] | [30.0, 31.0] | [43, 48] |
p03219 | u133038626 | 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'] | ['s545022661', 's940116029'] | [2940.0, 2940.0] | [18.0, 18.0] | [41, 42] |
p03219 | u138385857 | 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 = (int(i) for i in input().split())\nH = [int(i) for i in input().split()]\n\nH_T = [0 for i in range(len(H))]\nfor i in range(len(H)):\n H_T[i] = float(T) - float(H[i])*0.006\n\nmin = 1000\nindex = 0\nfor i in range(len(H_T)):\n if(abs(H_T[i] - A) < min):\n index = i\n min = abs(H_T[i] - A)\nprint(index+1)\n', 'x, y = (int(i) for i in input().split())\n\nprint(x+y/2)\n', 'x, y = (int(i) for i in input().split())\n\nprint(int(x+y/2))\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s187286612', 's685361079', 's281284936'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 34.0] | [338, 55, 60] |
p03219 | u140724346 | 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'] | ['s520785737', 's670075916'] | [2940.0, 2940.0] | [17.0, 17.0] | [49, 54] |
p03219 | u143173995 | 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= map(int, input().split())\n\nif X < 0 or Y%2 != 0 or Y > 100:\n SystemExit\n\nprint(X+Y/2)', '\na = int(input())\n\nb = int(input())\n\nprint(a+b/2)\n', '\nX = int(input())\n\nY = int(input())\n\nif X < 0 or Y%2 != 0 or Y > 100:\n SystemExit\n\nprint(X+Y/2)', '\nX, Y= map(int, input().split())\n\nif X < 1 or Y%2 != 0 or Y > 100:\n SystemExit\n\nprint(X+Y/2)', '\nX = int(input())\n\nY = int(input())\n\nif X < 1 or Y > 100 or Y%2 == 0:\n\nprint(X+Y/2)', '\nX, Y= map(int, input().split())\n\nif X < 1 or Y%2 != 0 or Y > 100:\n SystemExit\n\nprint(int(X+Y/2))'] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s260230962', 's266586981', 's410232447', 's529297381', 's591714199', 's305402296'] | [2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0, 19.0, 18.0, 17.0] | [188, 134, 190, 188, 174, 193] |
p03219 | u143509139 | 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)', 'x,y=map(int,input().split())\nprint(int(x+y/2))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s524741258', 's845142510', 's930348055'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [33, 41, 46] |
p03219 | u144980750 | 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())\nprintint((a+(b/2)))', 'a,b=map(int,input().split())\nprint(a+(b/2))', 'a,b=map(int,input().split())\nprint(int(a+(b/2)))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s055619677', 's081889491', 's254314711'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [48, 43, 48] |
p03219 | u146575240 | 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 - Discount Fare\nX, Y = list(map(int, input().split()))\nans = X+0.5*Y\nprint(ans)', '# A - Discount Fare\nX, Y = list(map(int, input().split()))\nans = X+0.5*Y\nprint(int(ans))'] | ['Wrong Answer', 'Accepted'] | ['s348764402', 's183143709'] | [2940.0, 2940.0] | [19.0, 18.0] | [83, 88] |
p03219 | u152638361 | 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'] | ['s241181304', 's757892636', 's290921483'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [44, 44, 49] |
p03219 | u153349796 | 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()\nb = input()\nprint(str(a+b/2))', 'a, b = (int(i) for i in input().split()) \nprint(a+b/2)', 'a, b = (int(i) for i in input().split()) \nprint(str(a+b/2))', 'a = int(input())\nb = int(input())\nprint(str(a+b/2))', 'a, b = map(int, input().split())\nprint(a+b/2)', 'a, b = map(int, input().split())\nprint(int(a+b/2))'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s111668621', 's775651358', 's809945077', 's854447911', 's939764119', 's196313141'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 18.0, 17.0, 17.0] | [41, 54, 59, 51, 45, 50] |
p03219 | u159335277 | 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(int, input.split()))\nprint(x + y // 2)', 'x, y = list(map(int, input().split()))\nprint(x + y // 2)'] | ['Runtime Error', 'Accepted'] | ['s218244115', 's036943569'] | [2940.0, 3064.0] | [18.0, 17.0] | [54, 56] |
p03219 | u161201983 | 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))'] | ['Wrong Answer', 'Accepted'] | ['s006808784', 's288464144'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 51] |
p03219 | u163308921 | 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+int(b/2))'] | ['Wrong Answer', 'Accepted'] | ['s570574466', 's980054255'] | [2940.0, 2940.0] | [18.0, 21.0] | [44, 49] |
p03219 | u164261323 | 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(a+b/2)\n', 'a,b = map(int,input().split())\nprint(a+b/2)\n', 'a,b = map(int,input().split())\nprint(a+b//2)\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s018620825', 's665537981', 's734124014', 's574732119'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [46, 44, 44, 45] |
p03219 | u165268875 | 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 = map(int, input().split())\nprint(X+(Y/2))\n', 'X, Y = map(int, input().split())\nprint(X+(Y//2))\n'] | ['Wrong Answer', 'Accepted'] | ['s944907485', 's780865513'] | [2940.0, 2940.0] | [17.0, 18.0] | [49, 49] |
p03219 | u166621202 | 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())\nprice = X + Y/2\nprint(price)\n', 'X,Y = map(int,input())\nprice = X + Y/2\n\n', 'X,Y = map(int,input().split())\nprice = X + Y/2\nprint(round(price))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s655172974', 's893215528', 's243199755'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [60, 40, 66] |
p03219 | u167681750 | 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'] | ['s882045217', 's610188196'] | [2940.0, 2940.0] | [18.0, 17.0] | [53, 54] |
p03219 | u167908302 | 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 = map(int, input().split())\n\nprint(x + y/2)', '#coding:utf-8\nx, y = map(int, input().split())\n\nprint(x + y//2)'] | ['Wrong Answer', 'Accepted'] | ['s998644113', 's702030703'] | [3064.0, 2940.0] | [17.0, 17.0] | [62, 63] |
p03219 | u170324846 | 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'] | ['s473045013', 's554418161'] | [3188.0, 2940.0] | [17.0, 18.0] | [42, 50] |
p03219 | u173374079 | 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())\n\nPY_list = []\nfor num,i in enumerate(range(M)):\n p,y = map(int, input().split())\n PY_list = PY_list + [(num,p,y),]\n\nrec = []\nfor i in range(N):\n cities = []\n for k in PY_list:\n if k[1] == i+1:\n cities = cities + [k,]\n cities = sorted(cities, key=lambda x:x[2])\n\n rec_list = []\n for num,k in enumerate(cities):\n rec_list = rec_list + [(k[0],str(k[1]).zfill(6) + str(num+1).zfill(6)),]\n\n rec = rec + rec_list\nrec = sorted(rec, key=lambda x:x[0])\n\nfor s in rec:\n print(s[1])', 'a,b = map(int, input().split())\nprint(a+(b//2))'] | ['Runtime Error', 'Accepted'] | ['s682709293', 's600298958'] | [3064.0, 2940.0] | [17.0, 17.0] | [555, 47] |
p03219 | u174273188 | 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? | ['def solve():\n x, y = map(int, input())\n return x + y // 2\n\n\nif __name__ == "__main__":\n print(solve())\n', 'def solve():\n x, y = map(int, input().split())\n return x + y // 2\n\n\nif __name__ == "__main__":\n print(solve())\n'] | ['Runtime Error', 'Accepted'] | ['s803037603', 's309708734'] | [2940.0, 2940.0] | [18.0, 17.0] | [112, 120] |
p03219 | u174404613 | 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\na,b=list(map(int,(input().split())))\nprint(a+b-max(a,b)//2)\n', '#coding : utf-8\na,b=list(map(int,(input().split())))\nprint(a+b-b//2)\n'] | ['Wrong Answer', 'Accepted'] | ['s947514342', 's549402526'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 69] |
p03219 | u175590965 | 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)'] | ['Runtime Error', 'Accepted'] | ['s129460881', 's808918656'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 44] |
p03219 | u177756077 | 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=[]\nfor i in range(M):\n array=list(map(int,input().strip().split()))\n PY.append(array)\n\nPY.sort()\ncity=0\norder=0\nfor i in range(M):\n newcity=PY[i][0]\n if(newcity!=city):\n city=newcity\n order=1\n strcity=str(PY[i][0])\n strorder=str(order)\n upper='0'*(6-len(strcity))+strcity\n lower='0'*(6-len(strorder))+strorder\n order=order+1\n print(upper+lower)", 'X,Y=map(int,input().split())\nprint(X+int(Y/2))'] | ['Runtime Error', 'Accepted'] | ['s241254195', 's841445752'] | [3064.0, 3060.0] | [17.0, 28.0] | [420, 46] |
p03219 | u182047166 | 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\n\n\ndef input():\n return sys.stdin.readline()[:-1]\n\n# N = int(input())\n# A = [int(x) for x in input().split()]\n# a, b, c = map(int, input().split())\n# name1 = str(input())\n# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}\n\n\na,b=map(int,input().splpit())\nprint(a+int(b/2))', 'import sys\n\n\ndef input():\n return sys.stdin.readline()[:-1]\n\n# N = int(input())\n# A = [int(x) for x in input().split()]\n# a, b, c = map(int, input().split())\n# name1 = str(input())\n# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}\n\n\na,b=map(int,input().split())\nprint(a+int(b/2))'] | ['Runtime Error', 'Accepted'] | ['s254718606', 's850755929'] | [3060.0, 2940.0] | [19.0, 17.0] | [283, 282] |
p03219 | u183200783 | 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))\n'] | ['Wrong Answer', 'Accepted'] | ['s969612354', 's231805875'] | [2940.0, 2940.0] | [17.0, 17.0] | [48, 54] |
p03219 | u185249212 | 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 __future__ import print_function\nimport numpy as np\nimport sys\nimport math,string,itertools,fractions,heapq,collections,re,array,bisect,copy,functools\n# from itertools import accumulate\n# from collections import deque\nimport random\n\ndef eprint(*args, **kwargs):\n print(*args, file=sys.stderr, **kwargs)\n\na,b = map(int, input().split())\nprint(a+b/2)\n', 'from __future__ import print_function\nimport numpy as np\nimport sys\nimport math,string,itertools,fractions,heapq,collections,re,array,bisect,copy,functools\n# from itertools import accumulate\n# from collections import deque\nimport random\n\ndef eprint(*args, **kwargs):\n print(*args, file=sys.stderr, **kwargs)\n\na,b = map(int, input().split())\nprint(int(a+b/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s773176506', 's056522416'] | [14212.0, 13540.0] | [174.0, 159.0] | [357, 362] |
p03219 | u186838327 | 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\nX, Y = map(int, input().split())\n\nx = X + Y/2\n\nprint(x)', '# -*- coding: utf-8 -*-\n\nX, Y = map(int, input().split())\n\nx = X + Y/2\n\nprint(x)', '# -*- coding: utf-8 -*-\n\nX, Y = map(int, input().split())\n\nx = X + Y//2\n\nprint(x)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s217595446', 's812144074', 's630162969'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [146, 146, 147] |
p03219 | u190406011 | 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 = [int(i) for i in input().split()]\ndata = list()\nfor i in range(M):\n p, y = [int(i) for i in input().split()]\n data.append([i, p, y])\ndata.sort(key=lambda x:(x[1],x[2]))\nind = 1\nfor j, (i, p, y) in enumerate(data):\n if data[j-1][1] != p:\n ind = 1\n data[j].append(ind)\n ind += 1\ndata.sort(key=lambda x:x[0])\nfor i, p, y, j in data:\n print(str(p).zfill(6) + str(j).zfill(6))', 'X, Y = [int(i) for i in input().split()]\nprint(X + Y // 2)'] | ['Runtime Error', 'Accepted'] | ['s806981930', 's510841167'] | [3064.0, 2940.0] | [18.0, 17.0] | [403, 58] |
p03219 | u193641816 | 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 = list(map(int, input().split()))\n\nprint(x + y/2)', 'x = int(input())\n\ny = int(input())/2\n\nsum = x + y\n\nprint(sum)', 'x = int(input())\n\ny = int(input())\n\nsum = x + y/2 \n\nprint(sum)', 'x,y = map(int, input().split())\n\nprint(int(x + y/2))'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s164317592', 's635804165', 's654873596', 's786199074', 's344141567'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0, 17.0, 18.0] | [48, 53, 61, 62, 52] |
p03219 | u194689114 | 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, raw_input().split())\n\nprint(X + Y//2)\n', 'l = input().strip().split()\nprint(l[0] + l[1]/2)', 'l = map(int, input().split())\n \nprint(int(l[0] + l[1] / 2))', 'l = map(int, input().split())\n \nprint(int(l[0] + l[1]/2))', 'import numpy as np\n\nN = input()\nT,A = map(int,input().split())\nli = input().split()\n\ncelsiuses = []\nfor i for li:\n\tcelsius = T-li[i]*0.006\n\tcelsiuses.append(celsius)\n\ndef getNearValue(list, num):\n\tidx = np.abs(np.asarray(list) - num).argmin()\n\treturn list[idx]\n\nif __name__ = "__main__":\n\nans = getNearValue(celsiuses, A)\n\nans += 1\n\nprint(ans)', 'l = map(int, input().split())\n\nprint(l[0] + l[1]/2)', 'l = map(int, raw_input().split())\n\nprint(l[0] + l[3]/2)', 'l = input().strip().split()\nprint(int(l[0] + l[1]/2))\n', 'l = input().split()\nprint(l[0] + l[1]/2)', 'X Y = map(int, raw_input().split())\n\nprint(X + Y//2)\n', 'l = map(int, raw_input().split())\n \nprint(int(l[0] + l[1] / 2))', 'l = map(int, input().split())\n\nprint(l[0] + l[1]//2)\n', 'l = map(int, raw_input().split())\n\nprint(l[0] + l[1] / 2)', 'l = map(int, input().split())\n\nprint(l[0] + l[1]//2)\n', 'l = map(int, raw_input().split())\n\nprint(l[0] + l[1]/2)', 'l = input().strip().split()\nprint(l[0] + l[1]/2)\n', 'l = input().split()\nprint(l[0] + l[2]/2)', 'l = map(int, raw_input().split())\n\nprint(l[0] + l[1]//2)', 'l = map(int, input().split())\n\nprint(l[0] + l[3]/2)', 'l = input().split()\nprint(l[0] + l[3]/2)', 'X, Y = map(int, input().split())\n\nprint(X + Y//2)\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', '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'] | ['s059376884', 's060497241', 's117274599', 's138187242', 's140188106', 's144134567', 's171994737', 's186514663', 's194394322', 's292161236', 's327559719', 's379789387', 's537798515', 's555273282', 's639950962', 's696716751', 's805864004', 's812795067', 's963385630', 's979879308', 's147776478'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [54, 48, 59, 57, 343, 51, 55, 54, 40, 53, 63, 53, 57, 53, 55, 49, 40, 56, 51, 40, 50] |
p03219 | u200275627 | 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))\n', 'x, y = map(int, input().split())\nprint(x + y//2)\n'] | ['Wrong Answer', 'Accepted'] | ['s018958947', 's975352249'] | [2940.0, 2940.0] | [19.0, 17.0] | [64, 49] |
p03219 | u201109843 | 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\n\nx = sys.argv[1]\ny = sys.argv[2]\n\na_to_b = int(x)\nb_to_c = int(y) / 2\n\nprint(a_to_b + b_to_c)', 'import sys\n\nx = sys.argv[1]\ny = sys.argv[2]\n\na_to_b = int(x)\nb_to_c = int(y) / 2\n\nprint(a_to_b + b_to_c)', 'x, y = map(int, input().split())\n\nprint(x + y/2)', 'import sys\n\nx = sys.argv[1]\ny = sys.argv[2]\n\na_to_b = x\nb_to_c = y/2\n\nprint(a_to_b + b_to_c)', 'x, y = input().split()\n\nprint(int(x) + int(y)/2)\n', 'x, y = map(int, input().split())\n\nprint(x + y//2)\n'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s074253929', 's339749518', 's518521647', 's775329557', 's966171364', 's693763737'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 18.0, 17.0, 18.0] | [104, 104, 48, 92, 49, 50] |
p03219 | u203995947 | 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(" "))\nprice = x + y/2\nprint(price)', 'x, y = map(int,input().split(" "))\nprice = int(x + y/2)\nprint(price)\n\n'] | ['Wrong Answer', 'Accepted'] | ['s722835495', 's586694487'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 70] |
p03219 | u205792168 | 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()\nt,a=input().split()\nb=input().split()\nn=int(n)\nt=int(t)\na=int(a)\nmin=1000\nfor i in range(n):\n diff=abs(a-t+0.006*int(b[i]))\n if min>diff:\n id=i+1\n min=diff\nprint(id)', 'fare = input().split()\nprint(int(int(fare[0])+int(fare[1])/2))'] | ['Runtime Error', 'Accepted'] | ['s162291990', 's040578208'] | [3064.0, 2940.0] | [17.0, 17.0] | [201, 62] |
p03219 | u209275335 | 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)', 'a,b = map(int,input().split())\nprint(int(a + b / 2))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s253410479', 's999771002', 's392956207'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [47, 49, 52] |
p03219 | u211160392 | 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'] | ['s210677250', 's526303674'] | [2940.0, 2940.0] | [18.0, 19.0] | [43, 48] |
p03219 | u212952060 | 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)', 'x, y = map(int, input().split())\nprint(x+y//2)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s377580600', 's415923721', 's947328675'] | [2940.0, 3060.0, 2940.0] | [17.0, 19.0, 17.0] | [34, 41, 46] |
p03219 | u214547877 | 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(int,input().split()))\nprint(X+Y/2)', 'X,Y=list(map(int,input().split()))\nprint(X+Y//2)'] | ['Wrong Answer', 'Accepted'] | ['s604622838', 's826166123'] | [9088.0, 8892.0] | [25.0, 29.0] | [47, 48] |
p03219 | u215065194 | 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'] | ['s339787703', 's499588055'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 48] |
p03219 | u215743476 | 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'] | ['s869362408', 's609412061'] | [2940.0, 3060.0] | [17.0, 19.0] | [47, 52] |
p03219 | u216631280 | 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'] | ['s221148231', 's317326422', 's933084129'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [49, 49, 54] |
p03219 | u217303170 | 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(x+y//2)\n'] | ['Wrong Answer', 'Accepted'] | ['s255289022', 's431210701'] | [3060.0, 2940.0] | [19.0, 17.0] | [46, 47] |
p03219 | u217888679 | 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(input().split())\nprint(x+y//2)', 'x,y=map(int,input().split())\nprint(x+y//2)'] | ['Runtime Error', 'Accepted'] | ['s666506427', 's022057704'] | [2940.0, 3316.0] | [17.0, 19.0] | [38, 42] |
p03219 | u218494572 | 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(int, input().split()))\nprint(x+y/2)', 'x, y = list(map(int, input().split()))\nprint(x+y//2)'] | ['Wrong Answer', 'Accepted'] | ['s866672128', 's025265204'] | [2940.0, 2940.0] | [17.0, 18.0] | [51, 52] |
p03219 | u220345792 | 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))\n'] | ['Wrong Answer', 'Accepted'] | ['s004708363', 's752650116'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 51] |
p03219 | u220870679 | 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? | ['81 58', 'a,b=map(int,input().split())\nprint(a+b/2)', 'X, Y = map(int, input().split())\nprint(X + Y/2)', 'X, Y = map(int, input().split())\nprint((X + (Y / 2))//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', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s087319649', 's302590867', 's396433245', 's620110837', 's803133981', 's367212910'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [5, 41, 47, 56, 47, 52] |
p03219 | u222801992 | 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(input())\nprint(a+(b//2))', 'a,b=map(int,input().split())\nprint(a+(b//2))'] | ['Runtime Error', 'Accepted'] | ['s320283998', 's304579325'] | [2940.0, 2940.0] | [17.0, 17.0] | [32, 44] |
p03219 | u223646582 | 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)', 'X, Y = map(int, input().split())\nprint(int(X + Y/2))'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s181091854', 's686203954', 's731449858', 's999727502'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [47, 39, 47, 52] |
p03219 | u224348267 | 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 = (int(x) for x in input().split())\naltitude_list = [int(x) for x in input().split()]\ndif_list = list(map(lambda x: abs(A - (T - x * 0.006)), altitude_list))\nprint(dif_list.index(min(dif_list)) + 1)', 'X, Y = (int(x) for x in input().split())\nprint(X + int(Y / 2))'] | ['Runtime Error', 'Accepted'] | ['s713191399', 's295243889'] | [3060.0, 2940.0] | [17.0, 18.0] | [220, 62] |
p03219 | u225415456 | 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(int( a + (b/2)))'] | ['Wrong Answer', 'Accepted'] | ['s882535452', 's826509279'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 54] |
p03219 | u225642513 | 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)'] | ['Runtime Error', 'Accepted'] | ['s536808118', 's841193061'] | [2940.0, 2940.0] | [17.0, 18.0] | [47, 47] |
p03219 | u229333839 | 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())\ny = y/2\nprint(x+y)', 'x,y=map(int,input().split())\ny = y//2\nprint(x+y)'] | ['Wrong Answer', 'Accepted'] | ['s626147349', 's231445418'] | [2940.0, 2940.0] | [17.0, 18.0] | [47, 48] |
p03219 | u236127431 | 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-1)\nfor i in range(20**7):\n i+=1\n', 'X,Y=map(int,input())\nprint(X+Y//2)\nfor i in range(20**7):\n pass\n\n', 'X,Y=map(int,input().split())\nprint(X+Y//2)\nfor i in range(20**7):\n i+=1\n\n', 'X,Y=map(int,input().split())\nprint(X+Y//2)\n'] | ['Time Limit Exceeded', 'Runtime Error', 'Time Limit Exceeded', 'Accepted'] | ['s073303979', 's392013004', 's517817738', 's903838225'] | [2940.0, 2940.0, 2940.0, 2940.0] | [2104.0, 17.0, 2104.0, 17.0] | [75, 66, 74, 43] |
p03219 | u236221967 | 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? | ['AB, BC = [int(s) for s in input().split(" ")]\nprint(AB + BC/2)', 'AB, BC = [int(s) for s in input().split(" ")]\nprint(AB + BC//2)'] | ['Wrong Answer', 'Accepted'] | ['s990301000', 's119197584'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 63] |
p03219 | u238084414 | 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().sptit())\n\nprint(X + Y//2)\n', 'X, Y = map(int, input().split())\n\nprint(X + Y//2)\n'] | ['Runtime Error', 'Accepted'] | ['s164320066', 's965118729'] | [2940.0, 2940.0] | [17.0, 18.0] | [50, 50] |
p03219 | u239301277 | 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'] | ['s346704968', 's727286765'] | [2940.0, 2940.0] | [17.0, 17.0] | [41, 42] |
p03219 | u243159381 | 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())\nprintint((x+y/2))', 'x,y=map(int,input().split())\nprint(int(x+y/2))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s033720018', 's152624730', 's840840141'] | [9164.0, 9100.0, 9080.0] | [26.0, 24.0, 27.0] | [41, 46, 46] |
p03219 | u244459371 | 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', 'n,m = map(int,input().split())\ncity = [[] for _ in range(n+1)]\nret = ["" for _ in range(m)]\ndef createSix(s):\n while len(s) != 6:\n s = "0" + s\n return s\nfor i in range(m):\n a,b = map(int, input().split())\n city[a].append((b, i))\nfor i in range(m):\n city[i].sort()\nprint(city)\nfor i in range(n+1):\n for j in range(len(city[i])):\n ret[city[i][j][1]] = createSix(str(i)) + createSix(str(j+1))\nfor i in ret:\n print(i)\n \n\n \n', 't = int(input())\na,b = map(int, input().split())\nss = list(map(int, input().split()))\np = 0\nmi= 99999999999999\n\nfor i in range(len(ss)):\n if mi > abs(b - (a - 0.006*ss[i])):\n p = i\n mi = abs(b - (a - 0.006*ss[i]))\nprint(p+1)\n\n', 'h,w,k = map(int, input().split())\n\nif w == 1:\n print(1)\n exit(0)\n\ncase = []\n\ndef createCase(s):\n if (len(s) == w-1):\n case.append(s)\n return\n if len(s) != 0 and s[-1] == "1" :\n createCase(s+"0")\n else:\n createCase(s+"0")\n createCase(s+"1")\n\ncreateCase("")\n\nfor i in range(len(case)):\n case[i] = "0"+case[i]+"0"\n\n# print(case)\n\nmove = [[0]*3 for _ in range(w)]\n\nfor i in range(w):\n for j in case:\n if j[i] == j[i+1] == "0":\n move[i][1] += 1\n if j[i+1] == "1":\n move[i][2] += 1\n if j[i] == "1":\n move[i][0] += 1\n\n# print(move)\n\ndp = [[0]*w for _ in range(h)]\n\nfib = [0, 1, 2, 3, 5, 8, 13, 21]\n\ndp[0][0] = fib[w-1]\ndp[0][1] = fib[w-2]\n\nfor i in range(1, h):\n dp[i][0] = (dp[i-1][0]*move[0][1] + dp[i-1][1]*move[1][0]) % 1000000007\n for j in range(1, w-1):\n dp[i][j] = (dp[i-1][j]*move[j][1] + dp[i-1][j-1]*move[j-1][2] + dp[i-1][j+1]*move[j+1][0]) % 1000000007\n dp[i][-1] = (dp[i-1][-2]*move[-2][2] + dp[i-1][-1]*move[-1][1]) % 1000000007\n\n# print(dp)\n\nprint(dp[-1][k-1])\n', 'a,b = map(int, input().split())\nprint(a+b//2)\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s200684484', 's235672288', 's245570738', 's710206935', 's275933419'] | [2940.0, 3064.0, 3060.0, 3188.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0] | [1, 460, 243, 1095, 46] |
p03219 | u244836567 | 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,c,d=input().split()\na=int(a)\nb=int(b)\nprint(a+b/2)', 'a,b=input().split()\na=int(a)\nb=int(b)\nprint(a+b/2)', 'a,b=input().split()\na=int(a)\nb=int(b)\nprint(int(a+b/2))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s092463344', 's150203446', 's272548844'] | [8904.0, 9016.0, 9116.0] | [28.0, 23.0, 28.0] | [54, 50, 55] |
p03219 | u246639932 | 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'] | ['s693723278', 's211713278'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 46] |
p03219 | u248670151 | 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()))\nmn=abs(A-(T-H[0]*0.006))\nc=0\nfor i in range(N):\n if mn>abs(A-(T-H[i]*0.006)):\n mn=abs(A-(T-H[i]*0.006))\n c=i\nprint(c+1)\n', 'a=list(map(int,input().split()))\nprint(int(a[0]+(a[1]/2)))'] | ['Runtime Error', 'Accepted'] | ['s858246178', 's859996356'] | [9028.0, 9104.0] | [23.0, 31.0] | [223, 58] |
p03219 | u250944591 | 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'] | ['s007536267', 's430646749'] | [9028.0, 9144.0] | [31.0, 29.0] | [44, 42] |
p03219 | u252964975 | 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('{:.0f}'.format((a+b)/2))", "a,b=map(int, input().split())\nprint('{:.0f}'.format(a+b/2))"] | ['Wrong Answer', 'Accepted'] | ['s789847183', 's518289037'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 59] |
p03219 | u255001744 | 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))\n'] | ['Wrong Answer', 'Accepted'] | ['s559749874', 's907081592'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 49] |
p03219 | u255943004 | 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(int(X + Y/2))'] | ['Wrong Answer', 'Accepted'] | ['s544508045', 's810686111'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 59] |
p03219 | u263654061 | 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'] | ['s978113237', 's744780152'] | [2940.0, 2940.0] | [18.0, 18.0] | [44, 45] |
p03219 | u263691873 | 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(int(X+(Y/2)))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s523734177', 's732595742', 's406084891'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 19.0] | [47, 39, 52] |
p03219 | u264265458 | 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+int(b/2))'] | ['Wrong Answer', 'Accepted'] | ['s983210775', 's449338126'] | [2940.0, 2940.0] | [17.0, 17.0] | [41, 46] |
p03219 | u265118937 | 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'] | ['s359699910', 's543462278'] | [2940.0, 2940.0] | [18.0, 17.0] | [41, 42] |
p03219 | u265261899 | 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()\nY = input()\n\nprint((X+Y)/2)', 'input_data = list(map(int,input().split()))\nx = input_data[0]\ny = input_data[1]\n\nprint(x+y/2)', 'input_data = list(map(int,input().split()))\nx = input_data[0]\ny = input_data[1]\n\nprint((x+y)/2)', 'input_data = list(map(int,input().split()))\n\nx = input_data[0]\ny = input_data[1]/2\n\nprint(x+y)', 'input_data = list(map(int,input().split()))\n\nx = input_data[0]\ny = input_data[1]/2\n\nprint(int(x+y))'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s247308017', 's382395426', 's844163298', 's937712424', 's493653043'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 18.0, 18.0, 18.0] | [39, 93, 95, 94, 99] |
p03219 | u275710783 | 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'] | ['s548495043', 's473252163'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 50] |
p03219 | u276317406 | 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=int(input())\nb=int(input())\nprint(int(a+b/2))\n', '(a,b)=input().split()\nprint(int(int(a)+int(b)/2))\n'] | ['Runtime Error', 'Accepted'] | ['s215320770', 's335812979'] | [2940.0, 3316.0] | [19.0, 21.0] | [48, 50] |
p03219 | u278260569 | 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'] | ['s995450240', 's675030313'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 48] |
p03219 | u278868910 | 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()]\nans = X + Y/2\nprint(ans)\n', 'X, Y = [int(i) for i in input().split()]\nans = X + Y//2\nprint(ans)\n'] | ['Wrong Answer', 'Accepted'] | ['s695482095', 's912936819'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 67] |
p03219 | u279493135 | 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, re\nfrom collections import deque, defaultdict, Counter\nfrom math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians\nfrom itertools import permutations, combinations, product\nfrom operator import itemgetter, mul\nfrom copy import deepcopy\nfrom string import ascii_lowercase, ascii_uppercase, digits\n\ndef input(): return sys.stdin.readline().strip()\ndef INT(): return int(input())\ndef MAP(): return map(int, input().split())\ndef LIST(): return list(map(int, input().split()))\nsys.setrecursionlimit(10 ** 9)\nINF = float('inf')\nMOD = 10 ** 9 + 7\n\nX, Y = MAP()\n\nprint(X+Y//2)import sys, re\n", "import sys, re\nfrom collections import deque, defaultdict, Counter\nfrom math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians\nfrom itertools import permutations, combinations, product\nfrom operator import itemgetter, mul\nfrom copy import deepcopy\nfrom string import ascii_lowercase, ascii_uppercase, digits\n\ndef input(): return sys.stdin.readline().strip()\ndef INT(): return int(input())\ndef MAP(): return map(int, input().split())\ndef LIST(): return list(map(int, input().split()))\nsys.setrecursionlimit(10 ** 9)\nINF = float('inf')\nMOD = 10 ** 9 + 7\n\nX, Y = MAP()\n\nprint(X+Y//2)"] | ['Runtime Error', 'Accepted'] | ['s638909135', 's882803510'] | [3068.0, 4016.0] | [17.0, 80.0] | [604, 589] |
p03219 | u280552586 | 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(x+(y//2))\n'] | ['Wrong Answer', 'Accepted'] | ['s755006422', 's499562921'] | [2940.0, 2940.0] | [17.0, 17.0] | [48, 49] |
p03219 | u282228874 | 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()))\ntemp_list = [t-h*0.006 for h in H_list ]\nans_list = [abs(a-x) for x in temp_list]\nans = min(ans_list)\nprint(ans_list.index(ans)+1) ', 'x,y = map(int,input().split())\nprint(x + y // 2)'] | ['Runtime Error', 'Accepted'] | ['s596184405', 's577248360'] | [3064.0, 2940.0] | [17.0, 18.0] | [221, 48] |
p03219 | u286955577 | 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? | ["def solve(X, Y):\n\tans = []\n\n\n\t# append output array\n ans.append(str(X + Y // 2))\n\n # Output according to format\n ans = '\\n'.join(ans)\n return ans\n\n\nX, Y = list(map(int, input().split()))\n\n\nprint(solve(X, Y))\n", "def solve(X, Y):\n\tans = []\n\t\n\tans.append(str(X + Y // 2))\n\t\n # Output according to format\n\tans = '\\n'.join(ans)\n\treturn ans\n\n\nX, Y = list(map(int, input().split()))\n\n\nprint(solve(X, Y))\n"] | ['Runtime Error', 'Accepted'] | ['s606691503', 's313948618'] | [2940.0, 2940.0] | [17.0, 17.0] | [251, 220] |
p03219 | u288430479 | 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#print(h)\nl =[]\nfor i in range(n):\n a = T - h[i]*0.006\n print(a)\n b = abs(a-A)\n l.append(b)\n print(l)\nc = h.index(h[l.index(min(l))])\nprint(c+1)', 'n = int(input())\nT,A = map(int,input().split())\nh = list(map(int,input().split()))\n#print(h)\nl =[]\nfor i in range(n):\n a = T - h[i]*0.006\n # print(a)\n b = abs(a-A)\n l.append(b)\n #print(l)\nc = h.index(h[l.index(min(l))])\nprint(c+1)', 'x,y = map(int,input().split())\n\nprint(int(x+y/2))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s363644834', 's711582801', 's767862704'] | [3060.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0] | [232, 234, 49] |
p03219 | u288980918 | 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'] | ['s734933706', 's099968324'] | [9156.0, 9156.0] | [26.0, 25.0] | [43, 44] |
p03219 | u289292562 | 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("{}".format(x+y/2)', 'x, y = map(int, input().split())\nprint("{}".format(int(x+y/2)))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s617281769', 's998375147', 's464150735'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [45, 57, 63] |
p03219 | u290443463 | 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)\n'] | ['Runtime Error', 'Accepted'] | ['s916232997', 's404802848'] | [3060.0, 2940.0] | [19.0, 17.0] | [36, 45] |
p03219 | u290673589 | 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())\nans=x+int(y/2)\nprint(ans)', 'x,y=map(int,input().split())\nans=x+int(y/2)\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s831348760', 's471994055'] | [2940.0, 2940.0] | [18.0, 17.0] | [55, 54] |
p03219 | u294385082 | 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)', 'n = int(input())\nt,a = map(int,input().split())\nh = list(map(int,input().split()))\nminabs = 10**10\n\nfor i in range(n):\n if abs(a-(t-h[i]*0.006)) < minabs:\n minabs = abs(a-(t-h[i]*0.006))\n j = i\n\nprint(j+1)', 'x,y = map(int,input().split())\nprint(int(x + y/2))'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s103028723', 's123982985', 's816222724', 's026924073'] | [2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 18.0] | [43, 45, 212, 50] |
p03219 | u295294832 | 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,T= [int(i) for i in input().split()]\nprint(N+T/2)', 'N,T= [int(i) for i in input().split()]\nprint(int(N+T/2))'] | ['Wrong Answer', 'Accepted'] | ['s822532761', 's856206514'] | [2940.0, 2940.0] | [18.0, 17.0] | [51, 56] |
p03219 | u298297089 | 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'] | ['s694076388', 's191727524'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 47] |
p03219 | u302957509 | 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)', 'a, b = map(int, input().split())\nprint(a + b // 2)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s410700375', 's947487784', 's822264278'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [41, 49, 50] |
p03219 | u303059352 | 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 = int(input()), int(input())\nprint(x + y / 2)', 'x, y = input().split\nprint(int(x) + int(y) / 2)', 'print(int(input()) + int(input()) / 2)', 'a, b = map(int, input().split())\nprint(int(a + b / 2))\n'] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s375264664', 's474270167', 's643377716', 's849003711', 's356077561'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 18.0, 18.0] | [49, 50, 47, 38, 55] |
p03219 | u305452255 | 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 math\n\nfees = [int(i) for i in input().split(sep=' ')]\nprint(fees)\nprint(math.ceil(fees[0] + fees[1] / 2))\n", "fees = [int(i) for i in input().split(sep=' ')]\nprint(fees[0] + fees[1] / 2)\n", "import math\n\nfees = [int(i) for i in input().split(sep=' ')]\nprint(math.ceil(fees[0] + fees[1] / 2))\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s210201156', 's365943882', 's899858488'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [113, 77, 101] |
p03219 | u305732215 | 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))\n'] | ['Wrong Answer', 'Accepted'] | ['s283892467', 's467036419'] | [2940.0, 2940.0] | [18.0, 17.0] | [46, 53] |
p03219 | u305965165 | 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)', 'a, b = (int(i) for i in input().split()) \nprint(int(a+b/2))'] | ['Wrong Answer', 'Accepted'] | ['s974365955', 's877563316'] | [2940.0, 2940.0] | [17.0, 18.0] | [54, 59] |
p03219 | u307834890 | 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()\nx,y = map(int,input().split())\ny = y/2\nans = x + y\nprint(ans)\n\n', 'x,y = map(int,input().split())\ny = y/2\nans = x + y\nprint(int(ans))\n\n'] | ['Runtime Error', 'Accepted'] | ['s932734649', 's313017207'] | [2940.0, 2940.0] | [17.0, 17.0] | [75, 68] |
p03219 | u309977459 | 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)\n', 'X, Y = map(int, input().split())\nprint(X+Y//2)\n'] | ['Runtime Error', 'Accepted'] | ['s183965554', 's508771696'] | [2940.0, 2940.0] | [18.0, 19.0] | [39, 47] |
p03219 | u310549140 | 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()\nX = int(s[0])\nY = int(s[1])\nprint(X+(Y/2))', 's = input().split()\nprint(int(int(s[0])+(int(s[1])/2)))'] | ['Wrong Answer', 'Accepted'] | ['s088816606', 's546713000'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 55] |
p03219 | u313043608 | 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=mao(int,input().split())\nprint(x+y//2)', 'x,y=map(int,input().split())\nprint(x+y//2)\n'] | ['Runtime Error', 'Accepted'] | ['s070420872', 's055352936'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 43] |
p03219 | u319805917 | 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=a+b/2\nprint(c)', 'a,b=map(int,input().split())\nc=a+(b/2)\nprint(c)', 'a,b=map(int,input().split())\nc=a+(b/2)\n\nprint(int(c))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s748452907', 's895052773', 's215433352'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [45, 47, 53] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.