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 | u320763652 | 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())\nprint(int(a+b/2))'] | ['Wrong Answer', 'Accepted'] | ['s028471376', 's349217527'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 49] |
p03219 | u325264482 | 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()))\n\nans = X + Y / 2\nprint(ans)', 'X, Y = list(map(int, input().split()))\n\nans = X + Y / 2\nprint(int(ans))'] | ['Wrong Answer', 'Accepted'] | ['s750337889', 's061580916'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 71] |
p03219 | u325704929 | 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 + y // 2)'] | ['Runtime Error', 'Accepted'] | ['s862631973', 's734646630'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 51] |
p03219 | u325956328 | 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(x + y//2 )\n', 'x, y = map(int, input().split())\nprint(x + y//2 )\n'] | ['Runtime Error', 'Accepted'] | ['s133830802', 's434722285'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 50] |
p03219 | u326610157 | 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\n\nx, y = map(int, input().split())\nprint(x+y/2)', 'import numpy as np\n\nx, y = map(int, input().split())\nprint(int(x+y/2))'] | ['Wrong Answer', 'Accepted'] | ['s854006407', 's481735678'] | [12392.0, 12392.0] | [159.0, 149.0] | [65, 70] |
p03219 | u327466606 | 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)', 'line = input() # line = "81 58"\ntokens = line.split()\nX = int(tokens[0])\nY = int(tokens[1])\nprint(X+Y//2)'] | ['Runtime Error', 'Accepted'] | ['s138376648', 's091037544'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 105] |
p03219 | u328755070 | 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()))\n\nprint(A + B // 2)\n', 'X, Y = list(map(int, input().split()))\n\nprint(X + Y // 2)\n'] | ['Runtime Error', 'Accepted'] | ['s626713351', 's793951607'] | [2940.0, 2940.0] | [18.0, 18.0] | [58, 58] |
p03219 | u329036729 | 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()))\n\nprint(x+y/2)', 'x, y = list(map(int, input().split()))\n\nprint(int(x+y/2))'] | ['Wrong Answer', 'Accepted'] | ['s225597245', 's748440862'] | [2940.0, 2940.0] | [18.0, 18.0] | [52, 57] |
p03219 | u329058683 | 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'] | ['s592828072', 's984752159'] | [2940.0, 2940.0] | [17.0, 17.0] | [41, 42] |
p03219 | u331464808 | 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'] | ['s529576938', 's413409237'] | [3060.0, 2940.0] | [19.0, 17.0] | [42, 45] |
p03219 | u333139319 | 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)\n', '[x,y] = [int(i) for i in input().split()]\nprint(x+int(y/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s526303923', 's348651847'] | [3316.0, 2940.0] | [20.0, 17.0] | [55, 60] |
p03219 | u333190709 | 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\nfrom operator import itemgetter\n\nN, M = input().split()\nN, M = int(N), int(M)\nC = [input().split() for i in range(M)]\n\nfor i, c in enumerate(C):\n C[i] = [int(c[0]), int(c[1])]\n C[i].append(i)\n\nC_sorted = sorted(C, key = lambda x: (x[0], x[1]))\n\ncounter = 1\ncurrent = 1\n\nfor c in C_sorted:\n if current < c[0]:\n counter = 1\n pref = str(c[0])\n num = str(counter)\n number = ''\n for i in range(6 - len(pref)):\n number += '0'\n number += pref\n for i in range(6 - len(num)):\n number += '0'\n number += num\n\n c.append(number)\n counter += 1\n current = c[0]\n\nC_reversed = sorted(C_sorted, key = lambda x: x[2])\n\nfor c in C_reversed:\n print(c[3])", 'X, Y = input().split()\nX, Y = int(X), int(Y)\n\nprint(int(X + Y/2))\n'] | ['Runtime Error', 'Accepted'] | ['s232650617', 's933039663'] | [12400.0, 2940.0] | [153.0, 17.0] | [675, 66] |
p03219 | u341799879 | 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())\n\nresult = x + y/2\nprint(int(result))', 'x,y = int(input().split())\nprint(int(x + y/2))', 'x = int(input())\ny = int(input())\nresult = x + y *0.5\nprint(result)', 'x = int(input())\ny = int(input())\n\nprint( x + y * 0.5)\n', 'x, y = map(int, input().split())\nprint(int(x + y / 2))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s208707954', 's297849773', 's664595822', 's724220548', 's615193927'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 17.0, 17.0] | [70, 46, 67, 55, 54] |
p03219 | u346531902 | 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)', 'a,b=map(int,input().split(" "))\nprint(a+b//2)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s340717417', 's806218104', 's090826384'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [44, 42, 45] |
p03219 | u346629192 | 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'] | ['s691608769', 's699732549'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 48] |
p03219 | u348945811 | 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 = input().split()\n\nnums = list(map(int, data))\nans = nums[0] + nums[1] / 2\n\nprint(ans)', 'data = input().split()\n\nnums = list(map(int, data))\nans = int(nums[0] + nums[1] / 2)\n\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s197626976', 's324375432'] | [2940.0, 2940.0] | [20.0, 17.0] | [91, 96] |
p03219 | u350049649 | 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)', 'A,B=map(int,input().split())\nprint(A+B//2)'] | ['Runtime Error', 'Accepted'] | ['s545488433', 's527610539'] | [2940.0, 2940.0] | [18.0, 17.0] | [35, 42] |
p03219 | u351399674 | 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))'] | ['Wrong Answer', 'Accepted'] | ['s109649565', 's723588224'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 48] |
p03219 | u352429976 | 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 print(int(x + (y/2)))\n', 'x, y = map(int, input().split())\nprint(int(x + (y/2)))\n'] | ['Runtime Error', 'Accepted'] | ['s301876609', 's635794930'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 55] |
p03219 | u352676541 | 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())\nans = X + Y/2\nprint(ans)', 'X ,Y= map(int,input().split())\nans = int(X + Y/2)\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s845384785', 's160872016'] | [8952.0, 9140.0] | [25.0, 26.0] | [55, 60] |
p03219 | u354623416 | 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))'] | ['Runtime Error', 'Accepted'] | ['s389622085', 's461836714'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 46] |
p03219 | u356539385 | 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))'] | ['Runtime Error', 'Accepted'] | ['s362914361', 's940792407'] | [2940.0, 2940.0] | [20.0, 18.0] | [34, 46] |
p03219 | u357751375 | 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? | ['\nn = int(input())\n#t - h[i] * 0.006\n\nt,a = map(int,input().split())\nh = list(map(int,input().split()))\n\no = []\n\nfor i in range(n):\n o.append(t - h[i] * 0.006)\n\n\np = abs(a - o[0])\n\nq = 0\nfor i in range(n)[1:]:\n if abs(a - o[i]) < p:\n p = abs(a - o[i])\n q = i\n\nprint(q + 1)', 'x,y = map(int,input().split())\nprint(x + (y // 2))'] | ['Runtime Error', 'Accepted'] | ['s822056172', 's309153018'] | [9096.0, 2940.0] | [23.0, 17.0] | [418, 50] |
p03219 | u358051561 | 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))'] | ['Wrong Answer', 'Accepted'] | ['s910831785', 's611353534'] | [2940.0, 2940.0] | [17.0, 18.0] | [45, 50] |
p03219 | u360031743 | 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())\n\nZ = X + (Y/2)\n\nprint(Z)', 'X = int(input())\nY = int(input())\n\nZ = X + (Y/2)\n\nprint(int(Z))', 'x,y = map(int,input().split())\n\nans = x+y/2\n\nprint(int(ans))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s491616156', 's508979924', 's135739994'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [58, 63, 60] |
p03219 | u360515075 | 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'] | ['s774039108', 's764387007'] | [2940.0, 2940.0] | [18.0, 17.0] | [38, 51] |
p03219 | u363768711 | 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'] | ['s994212614', 's111313570'] | [2940.0, 2940.0] | [18.0, 17.0] | [39, 50] |
p03219 | u364541509 | 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())\nZ = Y / 2\nM = X + Z\nprint(M)', 'X, Y = map(int, input().split())\nZ = Y // 2\nM = X + Z\nprint(M)'] | ['Wrong Answer', 'Accepted'] | ['s538985972', 's572923927'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 62] |
p03219 | u366133198 | 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))'] | ['Wrong Answer', 'Accepted'] | ['s723122252', 's781890407'] | [2940.0, 2940.0] | [18.0, 17.0] | [49, 54] |
p03219 | u369402805 | 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())\nret = int(X + Y/2 + 0.1)\nprint(str(ret))', 'X, Y = [int(a) for a in input.split()]\nret = int(X + Y/2 + 0.1)\nprint(str(ret))\n', 'X, Y = [int(a) for a in input().split()]\nret = int(X + Y/2 + 0.1)\nprint(str(ret))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s243440969', 's603689273', 's175642747'] | [3316.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0] | [74, 80, 82] |
p03219 | u371763408 | 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())\ntemp = list(map(int,input().split()))\ntmp = 10**9\nindex= 1\n\nfor i in temp:\n if abs(a- (t - tmp)) > abs(a- (t - i * 0.006)):\n tmp = t - i * 0.006\n index = temp.index(i)+1\n\n\nprint(index)', 'x,y = map(int,input().split())\nprint(x+int(y/2))\n'] | ['Runtime Error', 'Accepted'] | ['s305705999', 's638341942'] | [3060.0, 2940.0] | [17.0, 17.0] | [239, 49] |
p03219 | u372930096 | 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-y/2)\nprint(ans)\n', 'x,y=map(int,input().split())\n\nans=(x+y-y/2)\nprint(int(ans))\n\n'] | ['Wrong Answer', 'Accepted'] | ['s987656236', 's895161997'] | [2940.0, 2940.0] | [18.0, 18.0] | [55, 61] |
p03219 | u373047809 | 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(" ", +) + "//2"))', 'print(eval(input().replace(" ", "+") + "//2"))'] | ['Runtime Error', 'Accepted'] | ['s953733825', 's764377700'] | [2940.0, 2940.0] | [18.0, 17.0] | [44, 46] |
p03219 | u374146618 | 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(a) for a in input().split()]\nprint(X+Y/2)', 'X, Y = [int(a) for a in input().split()]\nprint(int(X+Y/2))'] | ['Wrong Answer', 'Accepted'] | ['s848988427', 's974887594'] | [2940.0, 3064.0] | [17.0, 17.0] | [53, 58] |
p03219 | u375616706 | 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)\n', 'x,y = list(map(int,input().split())\nprint(x+y/2)', "#M num of prefecture\n#N num of city\nN, M = map(int,input().split())\n#P pref\n#Y year\nP=[]\nY=[]\ncities=[]\nfor i in range(M):\n try:\n s = input()\n p,y = s.split()\n city=(p,y)\n cities.append(city) \n P.append(p)\n Y.append(y)\n except:\n break\n\nsort_city=sorted(cities,key=lambda x:(x[0],x[1]))\nprefs = sorted(set(P))\n\naddress=[]\nres=[]\nfor i in range(len(sort_city)): \n address=str(sort_city[i][0]).rjust(6,'0')+str(i+1).rjust(6,'0')\n res.append((sort_city[i],address))\n\nprint(res[1][0])\nfor i in range(len(cities)):\n for j in range(len(res)):\n if cities[i] == res[j][0]:\n print(res[j][1])\n\n", 'x,y = list(map(int,input().split()))\nprint(int(x+y/2))\n'] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s412984863', 's546268363', 's625611127', 's321436043'] | [2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 19.0, 18.0] | [50, 48, 665, 55] |
p03219 | u375681664 | 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(abs(X+Y/2))\n', 'X,Y=map(int,input().split())\nprint(int(X+Y/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s504936886', 's068424021'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 47] |
p03219 | u376476006 | 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? | ['inp = input()\nx, y = inp.split()\nprint(int(x + y/2))', "inp = input()\nx, y = inp.split(' ')\nprint(x + y/2)", 'x, y = [int(i) for i in input().split()]\nprint(int(x + y/2))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s632370718', 's648614743', 's621517715'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [52, 50, 60] |
p03219 | u377036395 | 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'] | ['s576332574', 's370321746'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 45] |
p03219 | u377867256 | 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'] | ['s425752547', 's923212160'] | [2940.0, 2940.0] | [18.0, 20.0] | [47, 52] |
p03219 | u379440427 | 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(x+int(y/2))', 'x, y = map(int, input().split())\nprint(x+int(y/2))'] | ['Runtime Error', 'Accepted'] | ['s555731160', 's285275420'] | [2940.0, 2940.0] | [17.0, 17.0] | [36, 50] |
p03219 | u381416158 | 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'] | ['s657385543', 's951808535'] | [2940.0, 3060.0] | [18.0, 17.0] | [57, 62] |
p03219 | u383196771 | 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 + Y // 2)'] | ['Wrong Answer', 'Accepted'] | ['s972879697', 's107569180'] | [2940.0, 2940.0] | [17.0, 17.0] | [50, 51] |
p03219 | u383508661 | 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())\nprint(n+m/2)', 'n,m=map(int,input().split())\nprint(n+m//2)'] | ['Wrong Answer', 'Accepted'] | ['s885909748', 's545761961'] | [2940.0, 2940.0] | [17.0, 17.0] | [41, 42] |
p03219 | u384679440 | 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'] | ['s393815783', 's713492597'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 48] |
p03219 | u390901416 | 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'] | ['s692516912', 's908257215'] | [2940.0, 2940.0] | [18.0, 18.0] | [45, 50] |
p03219 | u391328897 | 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'] | ['s320910533', 's488454661'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 49] |
p03219 | u392361133 | 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'] | ['s464525232', 's716314324'] | [2940.0, 9112.0] | [17.0, 31.0] | [48, 48] |
p03219 | u393224521 | 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 = [map(int, input().split()) for _ in range(m)]\np, y = [list(i) for i in zip(*py)]\npre = {}\nfor i in range(m):\n if p[i] not in pre.keys():\n pre[p[i]] = []\n pre[p[i]].append(y[i])\nfor i in pre.keys():\n pre[i].sort()\nfor i in range(m):\n num = str(p[i]*(10**6)+(pre[p[i]].index(y[i])+1))\n while len(num) < 12:\n num = '0' + num\n print(num)", 'x,y = map(int, sys.stdin.readline().rstrip("\\n").split())\nprint(x+y/2)', 'import sys\nx,y = map(int, sys.stdin.readline().rstrip("\\n").split())\nprint(x+y//2)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s353142445', 's823140073', 's162673818'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [404, 70, 82] |
p03219 | u393881437 | 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 = 1\nans_t = abs(A-(T-H[1]*0.006))\nfor i in range(N):\n if abs(A-(T-H[i]*0.006)) < ans_t:\n ans = i+1\n ans_t = abs(A-(T-H[i]*0.006))\nprint(ans)\n', 'N = int(input())\nT, A = map(int, input().split())\nH = list(map(int, input().split()))\n\nL = [abs(int(A-(T-i*0.006))) for i in H]\nprint(L.index(min(L))+1)\n', 'x,y = list(map(int,input().split()))\nprint(x+(y//2))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s144897791', 's534272068', 's792763486'] | [3060.0, 3064.0, 2940.0] | [20.0, 17.0, 18.0] | [249, 153, 53] |
p03219 | u395894569 | 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'] | ['s074872503', 's542745607'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 47] |
p03219 | u397563544 | 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())\n \nprint(int(x+(y/2)))', 'x = int(input())\ny = int(input())\n\nif x==0 or y==0:\n print(x+y)\nelse:\n print(int(x+(y/2)))\n', 'x=int(input())\ny=int(input())\n\n\nprint(x+(y/2)):', 'X,Y = map(int,input().split())\n \nprint( X + (Y / 2))', 'x = int(input())\ny = int(input())\n\n print(int(x+(y/2)))\n', 'x = int(input())\ny = int(input())\n\nif x==0 or y==0:\n print(x+y)\nelse:\n print(x+(y/2))', 'x,y = map(int,input().split())\n\nprint(x+y/2)', 'x,y = map(int,input.split())\n\nprint(x+(y//2))', 'x = int(input())\ny = int(input())\n\nif y==0:\n print(x+y)\nelse:\n print(int(x+(y/2)))\n', 'X,Y = map(int,input().split())\n \nprint(int( X + (Y / 2)))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s241721838', 's327652523', 's347828200', 's377714763', 's677819574', 's863756047', 's894174121', 's915175614', 's979886522', 's678572936'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0] | [18.0, 18.0, 17.0, 18.0, 18.0, 17.0, 18.0, 18.0, 17.0, 18.0] | [55, 92, 47, 52, 57, 86, 44, 45, 84, 57] |
p03219 | u397764938 | 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'] | ['s823172560', 's932152089'] | [2940.0, 2940.0] | [18.0, 17.0] | [43, 48] |
p03219 | u398437835 | 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 = map(int, input().split(' '))\nprint(int(x[0]+x[1]/2))", "x = list(map(int, input().split(' ')))\nprint(int(x[0]+x[1]/2))\n"] | ['Runtime Error', 'Accepted'] | ['s295810592', 's228419500'] | [2940.0, 2940.0] | [17.0, 17.0] | [56, 63] |
p03219 | u400221789 | 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'] | ['s265167450', 's170369008'] | [2940.0, 2940.0] | [18.0, 17.0] | [41, 46] |
p03219 | u402467563 | 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))'] | ['Wrong Answer', 'Accepted'] | ['s037408161', 's014775985'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 52] |
p03219 | u404794295 | 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'] | ['s050235512', 's813462576'] | [2940.0, 2940.0] | [18.0, 19.0] | [42, 47] |
p03219 | u407535999 | 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? | ['inpu=input("type yen")\nyen=inpu.split()\nman=int(yen[0])+int((int(yen[1])/2))\nprint(str(man))', 'number=input()\nnum_sp=number.split(" ")\nnum=num_sp[0]+(num_sp[1]/2)\nprint("%s"%(num))', 'inpu=input("type yen")\nyen=inpu.split()\nman=int(yen[0])+(int(yen[1])/2)\nprint(str(man))', 'number=input()\nnum_sp=number.split(" ")\nnum=num_sp[0]+(num_sp[1]/2)\nprint("%s"%(num))', 'yen=input().split(" ")\nprint(str(int(yen[0])+int(yen[1])/2))', 'yen=input("type yen").split()\nman=int(yen[0])+(int(yen[1])/2)\nprint(str(man))', 'number=input()\nnum_sp=number.split(" ")\nnum=int(num_sp[0])+(int(num_sp[1])/2)\nprint("%s"%(int(num)))\n'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s511830992', 's589939011', 's726064507', 's867911806', 's975646248', 's992200103', 's350607053'] | [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, 17.0] | [92, 85, 87, 85, 60, 77, 101] |
p03219 | u411319372 | 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? | ["ls = input().strip().split(' ')\nprint( int(ls[0]) + int(ls[1]) / 2)\n", "ls = input().strip().split(' ')\nprint( int(ls[0]) + int( int(ls[1]) / 2 ) )\n"] | ['Wrong Answer', 'Accepted'] | ['s338667753', 's805353821'] | [2940.0, 2940.0] | [17.0, 17.0] | [68, 76] |
p03219 | u416795914 | 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', 'X, Y = map(int, input().split());\nprint(X+Y/2);\n', 'X,Y=map(int,input().split)\nprint(int(X+Y/2))\n', 'X,Y=map(int,input().split())\nprint(int(X+Y/2))\n'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s618481323', 's666821561', 's727051243', 's842808633', 's805296773'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [46, 47, 48, 45, 47] |
p03219 | u419963262 | 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()))\nminn=10**10\nfor i in range(n):\n if minn>abs((t*(1000)-6*H[i])-a):\n ans = H[i]\n minn=t*(1000)-6*H[i]\nprint(ans)\n \n', 'n=int(input())\nt,a=map(int,input().split())\nH=list(map(int,input().split()))\nminn=10**10\nfor i in range(n):\n if minn>abs((t*(1000)-6*H[i])-a*1000):\n ans = H[i]\n minn=t*(1000)-6*H[i]\nprint(ans)\n \n', 'A,B=map(int,input().split())\nprint(A+B//2)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s000208902', 's759647730', 's314244512'] | [9032.0, 9092.0, 2940.0] | [25.0, 25.0, 17.0] | [198, 203, 42] |
p03219 | u422977492 | 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)))\n'] | ['Wrong Answer', 'Accepted'] | ['s937264197', 's002626261'] | [9148.0, 9092.0] | [25.0, 27.0] | [43, 49] |
p03219 | u432805419 | 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()))\nprint(a + int(b/2))', 'a = int(input())\nb = list(map(int,input().split()))\nc = list(map(int,input().split()))\nx = []\n\nfor i in range(a):\n l = abs(b[0] - c[i]*0.006 - b[1])\n x.append(l)\n \nprint(x.index(min(x)) + 1)', 'a = list(map(int,input().split()))\nprint(a + b/2)', 'x,y = list(map(int,input().split()))\nprint(x + int(y/2))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s031768398', 's368259243', 's710229940', 's009872447'] | [2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0] | [54, 193, 49, 56] |
p03219 | u434329006 | 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("{0}".format(a+b/2))', 'a, b = map(int, input().split())\nprint(a + b//2)'] | ['Wrong Answer', 'Accepted'] | ['s185942823', 's760583536'] | [2940.0, 2940.0] | [17.0, 17.0] | [59, 48] |
p03219 | u435314001 | 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'] | ['s868808837', 's062697908'] | [3188.0, 2940.0] | [20.0, 17.0] | [47, 48] |
p03219 | u439312138 | 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'] | ['s763923576', 's724725325'] | [2940.0, 2940.0] | [20.0, 17.0] | [45, 50] |
p03219 | u440129511 | 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'] | ['s126050237', 's526189803'] | [2940.0, 2940.0] | [17.0, 18.0] | [43, 48] |
p03219 | u440161695 | 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'] | ['s253066234', 's026215821'] | [2940.0, 2940.0] | [17.0, 17.0] | [41, 42] |
p03219 | u441246928 | 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'] | ['Wrong Answer', 'Accepted'] | ['s148852984', 's659456626'] | [2940.0, 3060.0] | [17.0, 20.0] | [45, 47] |
p03219 | u442948527 | 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()+"*0.5").replace(" ","+")))', 'print(eval((input()+"//2").replace(" ","+")))'] | ['Wrong Answer', 'Accepted'] | ['s579295739', 's351073026'] | [9008.0, 9072.0] | [25.0, 29.0] | [46, 45] |
p03219 | u443010331 | 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'] | ['s293541177', 's407049231'] | [3316.0, 2940.0] | [20.0, 17.0] | [52, 53] |
p03219 | u446711904 | 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());print(x+y/2)', 'x,y=map(int,input().split());print(int(x+y/2))'] | ['Wrong Answer', 'Accepted'] | ['s280855156', 's870667687'] | [2940.0, 2940.0] | [17.0, 24.0] | [41, 46] |
p03219 | u450180547 | 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 = list(map(int, input().split(' ')))\nres = ab[0] + (ab[1] / 2)\nprint(res)", "ab = list(map(int, input().split(' ')))\nres = ab[0] + (ab[1] // 2)\nprint(res)"] | ['Wrong Answer', 'Accepted'] | ['s081784925', 's785373098'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 77] |
p03219 | u450983668 | 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(exec(input().replace(" ","+")+"//2"))', 'print(eval(input().replace(" ","+")+"//2"))'] | ['Wrong Answer', 'Accepted'] | ['s371468101', 's195030555'] | [8912.0, 8964.0] | [27.0, 25.0] | [43, 43] |
p03219 | u452367775 | 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())\nprint(X + Y/2)\n', '# -*- coding: utf-8 -*-\n\nX,Y= map(int,input().split())\n\nprint(int(X + Y/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s415562046', 's841802708'] | [2940.0, 2940.0] | [17.0, 18.0] | [70, 76] |
p03219 | u453526259 | 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', 'a,b = map(int, input().split())\nb = b/2\nprint(a+b)\n', 'a,b = map(int, input().split())\nb = b/2\nprint(int(a+b))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s741116697', 's995484034', 's593198234'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [48, 51, 56] |
p03219 | u453815934 | 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())\nc=int(a+b/2)\nprint(c)\n'] | ['Wrong Answer', 'Accepted'] | ['s043120571', 's740425251'] | [2940.0, 2940.0] | [17.0, 17.0] | [41, 51] |
p03219 | u456566864 | 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 sys import stdin\nfrom queue import PriorityQueue\n\nPREFEC, CITIES = list(map(int, stdin.readline().split()))\npref = {str(key): PriorityQueue() for key in range(1, PREFEC+1)}\ncity = dict()\nout = [0] * CITIES\nfor i in range(CITIES):\n p, c = stdin.readline().split()\n pref[p].put(c)\n dic = p + '0' + c\n city[dic] = i\n\nfor j in range(1, PREFEC+1):\n i = str(j)\n pref_index = 1\n while not pref[i].empty():\n si = pref[i].get()\n temp = i + '0' + si\n index = city[temp]\n sy = str(pref_index)\n p = i\n\n while len(p) != 6:\n p = '0' + p\n while len(sy) != 6:\n sy = '0' + sy\n\n out[index] = p + sy\n\n pref_index += 1\n\nfor o in out:\n print(o)", 'from sys import stdin\n\nx, y = list(map(int, stdin.readline().split()))\nprint(x + y/2)', 'from sys import stdin\n\nx, y = list(map(int, stdin.readline().split()))\nprint(x + y//2)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s621613501', 's948820107', 's647013235'] | [4204.0, 2940.0, 2940.0] | [68.0, 17.0, 17.0] | [737, 85, 86] |
p03219 | u457683760 | 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/2+y/2)', 'x,y=[int(i) for i in input().split()]\nprint(x+y/2)', 'x,y=[int(i) for i in input().split()]\nX=x+y/2\nprint(X)', 'x,y=[int(i) for i in input().split()]\n\nprint(int(x+y/2))'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s070422357', 's244989159', 's446689628', 's653987163', 's167564991'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [52, 52, 50, 54, 56] |
p03219 | u457957084 | 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'] | ['s965795797', 's485577166'] | [2940.0, 2940.0] | [17.0, 17.0] | [48, 53] |
p03219 | u458608788 | 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'] | ['s520183873', 's247319638'] | [2940.0, 2940.0] | [17.0, 17.0] | [34, 42] |
p03219 | u464689569 | 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'] | ['s335295706', 's320474850'] | [2940.0, 2940.0] | [17.0, 18.0] | [44, 50] |
p03219 | u467307100 | 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 = map(int, input().split())\nprint(x + y//2 )'] | ['Runtime Error', 'Accepted'] | ['s227371176', 's907915764'] | [2940.0, 2940.0] | [18.0, 17.0] | [51, 49] |
p03219 | u468431843 | 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'] | ['s414946479', 's824922835'] | [8728.0, 9128.0] | [30.0, 24.0] | [52, 57] |
p03219 | u468972478 | 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'] | ['s252695509', 's335017977'] | [9048.0, 9160.0] | [25.0, 29.0] | [49, 51] |
p03219 | u469953228 | 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()\nn=n.replace('1','x')\nn=n.replace('9','1')\nn=n.replace('x','9')\nprint(n)\n", '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)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s014477475', 's703529873', 's334372970'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [82, 50, 52] |
p03219 | u476435125 | 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? | ['l=list(map(int,input().split()))\nx=l[0]\ny=l[1]\nprint(x+y/2)', 'nm=list(map(int,input().split()))\nn=nm[0]\nm=nm[1]\npy=[]\ny=[]\nfor i in range(m):\n py.append([])\nfor i in range (n):\n y.append([])\nfor i in range(m):\n py[i]=list(map(int,input().split()))\n y[py[i][0]-1].append(py[i][1])\nfor i in range(n):\n y[i].sort()\n#print(py)\n#print(y)\nfor i in range(m):\n if py[i][0]<10:\n print("00000"+str(py[i][0]*10**6+y[py[i][0]-1].index(py[i][1])+1))\n elif py[i][0]<100:\n print("0000"+str(py[i][0]*10**6+y[py[i][0]-1].index(py[i][1])+1))\n elif py[i][0]<1000:\n print("000"+str(py[i][0]*10**6+y[py[i][0]-1].index(py[i][1])+1))\n elif py[i][0]<10000:\n print("00"+str(py[i][0]*10**6+y[py[i][0]-1].index(py[i][1])+1))\n elif py[i][0]<100000:\n print("0"+str(py[i][0]*10**6+y[py[i][0]-1].index(py[i][1])+1))\n else:\n print(str(py[i][0]*10**6+y[py[i][0]-1].index(py[i][1])+1))', 'l=list(map(int,input().split()))\nx=l[0]\ny=l[1]\nprint(int(x+y/2))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s017932023', 's183926002', 's228322010'] | [2940.0, 3188.0, 2940.0] | [19.0, 17.0, 17.0] | [59, 865, 64] |
p03219 | u477343425 | 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())\nans = x + (y / 2)\nprint(ans)', 'x,y = map(int, input().split())\nans = x + y // 2\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s217889265', 's438101181'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 59] |
p03219 | u478870821 | 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(), int))\nprint(x + y//2)', 'x, y = list(map(int, input().split()))\nprint(x+y//2)'] | ['Runtime Error', 'Accepted'] | ['s241680127', 's101536838'] | [2940.0, 2940.0] | [19.0, 18.0] | [54, 52] |
p03219 | u480207477 | 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().split(" ")\nX=int(X)\nY=int(Y)\n\nprint(X+Y/2)', 'X, Y=input().split(" ")\nX=int(X)\nY=int(Y)\n\nprint(int(X+Y/2))'] | ['Wrong Answer', 'Accepted'] | ['s278569510', 's729116346'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 60] |
p03219 | u482157295 | 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'] | ['s232893700', 's807957953'] | [2940.0, 2940.0] | [18.0, 17.0] | [34, 46] |
p03219 | u483737025 | 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=int(input())\ny=int(input())\nprint(x+(y/2))', 'x,y=map(int,input().split())\nprint(x+(y//2))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s293788939', 's373247781', 's145143998'] | [3060.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0] | [43, 44, 44] |
p03219 | u484229314 | 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(_) for _ in input().split()]\nprint(a + b/2)', 'a,b = [int(_) for _ in input().split()]\nprint(a + b//2)'] | ['Wrong Answer', 'Accepted'] | ['s669545648', 's528301948'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 55] |
p03219 | u488934106 | 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 DiscountFare(x , y):\n\n return x + (y / 2)\n\ndef main():\n x , y = map(int , input().split())\n print(DiscountFare(x , y))\n\nif __name__ == '__main__':\n main()", "def DiscountFare(x , y):\n\n return int(x + (y / 2))\n\ndef main():\n x , y = map(int , input().split())\n print(DiscountFare(x , y))\n\nif __name__ == '__main__':\n main()"] | ['Wrong Answer', 'Accepted'] | ['s987510905', 's973305454'] | [2940.0, 2940.0] | [17.0, 17.0] | [170, 175] |
p03219 | u492749916 | 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'] | ['s585909740', 's259381265'] | [2940.0, 2940.0] | [18.0, 17.0] | [45, 50] |
p03219 | u494871759 | 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())\nans = int(x + y/2 )\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s846738491', 's679001567'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 61] |
p03219 | u496815777 | 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'] | ['s772606417', 's828352329'] | [2940.0, 2940.0] | [19.0, 17.0] | [45, 50] |
p03219 | u498486375 | 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())\nZ=X+Y/2\nprint(Z)', 'X,Y=map(int,input().split())\nZ=int(X+Y/2)\nprint(Z)\n'] | ['Wrong Answer', 'Accepted'] | ['s108593782', 's586143127'] | [2940.0, 3060.0] | [17.0, 18.0] | [45, 51] |
p03219 | u507027929 | 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'] | ['s518148857', 's539342605'] | [3060.0, 2940.0] | [20.0, 17.0] | [42, 50] |
p03219 | u510137738 | 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 + y // 2)'] | ['Wrong Answer', 'Accepted'] | ['s371819083', 's437772995'] | [2940.0, 2940.0] | [17.0, 17.0] | [50, 51] |
p03219 | u515364861 | 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 solve(x,y):\n return x+y/2\n \n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\n\ndef solve(x,y):\n return x+y//2\n \n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()"] | ['Wrong Answer', 'Accepted'] | ['s959345884', 's183559558'] | [2940.0, 3060.0] | [17.0, 19.0] | [471, 472] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.