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 | u518064858 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s670815837', 's459981848'] | [2940.0, 2940.0] | [18.0, 17.0] | [41, 47] |
p03219 | u518556834 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s756693359', 's831002774'] | [2940.0, 2940.0] | [17.0, 18.0] | [46, 44] |
p03219 | u519091008 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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))\n', 's = input().split()\nx, y = int(s[0]), int(s[1])\n\nprint(int(x+y/2))\n'] | ['Runtime Error', 'Accepted'] | ['s914179769', 's103373790'] | [2940.0, 2940.0] | [18.0, 17.0] | [53, 67] |
p03219 | u519721530 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s489097926', 's710795033'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 49] |
p03219 | u524287956 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(1)', 'x,y = map(int,input().split())\nprint(int(x+y/2))'] | ['Wrong Answer', 'Accepted'] | ['s023771704', 's700213688'] | [2940.0, 2940.0] | [17.0, 17.0] | [8, 48] |
p03219 | u524493380 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(str(X+Y/2))', 'X, Y = map(int, input().split())\n\nprint(str(X+Y//2))'] | ['Wrong Answer', 'Accepted'] | ['s342495127', 's673591398'] | [2940.0, 2940.0] | [17.0, 18.0] | [51, 52] |
p03219 | u525987461 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(int(X + Y / 2))'] | ['Wrong Answer', 'Accepted'] | ['s723766358', 's088359030'] | [2940.0, 2940.0] | [17.0, 18.0] | [53, 58] |
p03219 | u527697010 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 = tuple(map(int, input().split()))\n\nprint(x+y/2)', 'a=int(input())\nb=int(input())\n\nprint(a+int(b/2))', 'a,b = tuple(map(int, input().split()))\n\nprint(a+int(b/2))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s517048890', 's922986202', 's420535637'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [53, 48, 57] |
p03219 | u527993431 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s939863676', 's280152909'] | [2940.0, 2940.0] | [17.0, 17.0] | [41, 46] |
p03219 | u528807020 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['X,Y=[int(i) for i in input().split()]\nprint(X+(Y/2))', 'X,Y=[int(i) for i in input().split()]\nprint(X+Y/2)', 'X,Y=[int(i) for i in input().split()]\nprint(int(X+(Y/2)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s198509312', 's499106984', 's545648850'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [52, 50, 57] |
p03219 | u533679935 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['a,b = map(int,input().split())\nprint(a + (b/2))\n', 'a,b = map(int,input().split())\nprint(int(a + (b/2)))'] | ['Wrong Answer', 'Accepted'] | ['s589981517', 's381849597'] | [2940.0, 2940.0] | [18.0, 17.0] | [48, 52] |
p03219 | u533885955 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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+(1/2)*Y))', 'X,Y = map(int,input().split(" "))\nprint(int(X+(1/2)*Y))'] | ['Runtime Error', 'Accepted'] | ['s885850911', 's526717895'] | [2940.0, 2940.0] | [17.0, 17.0] | [40, 55] |
p03219 | u534610124 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 f(x, y):\n return x+y/2\n\nx = int(input())\ny = int(input())\nprint(f(x,y))', 'x, y = tuple(map(int, input().split()))\nprint(x + y /2)', 'x, y = tuple(map(int, input().split()))\n\nprint(int(x + y /2))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s049746965', 's966682078', 's964049035'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [78, 55, 61] |
p03219 | u536177854 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(x+y//2)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s181693580', 's241675872', 's730596028'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [43, 41, 42] |
p03219 | u538956308 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\nB = list(range(N))\ndef Temp(x):\n Temp = T-0.006*x\n return(Temp)\nfor i in range(N):\n B[i] = abs(Temp(H[i])-A)\nans = min(B)\nprint(B.index(ans)+1)', 'X,Y = map(int,input().split())\nans = X+Y//2\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s261869752', 's838961470'] | [3060.0, 2940.0] | [18.0, 18.0] | [229, 54] |
p03219 | u539517139 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\nfor i in range(n):\n h[i]=t-h[i]*0.006\nd=abs(a-h[0])\nc=1\nfor i in range(1,n):\n if d>abs(a-h[i]):\n c=i+1\n d=abs(a-h[i])\nprint(c)\n', 'x,y=map(int,input().split())\nprint(x+int(y/2))'] | ['Runtime Error', 'Accepted'] | ['s383004116', 's318750269'] | [3064.0, 2940.0] | [17.0, 17.0] | [212, 46] |
p03219 | u540065900 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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, C = map(int, input().split())\n\nprint(A + C/2)', 'A, C = map(int, input().split())\n\nV = round(C/2)\n\nprint(A + V)'] | ['Wrong Answer', 'Accepted'] | ['s261645622', 's875594657'] | [2940.0, 2940.0] | [17.0, 17.0] | [48, 62] |
p03219 | u543954314 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\nv = t-a\nfor i in range(n):\n h[i] = abs(v-h[i])\nprint(h.index(min(h))+1)', 'x, y = map(int, input().split())\nprint(int(x+y/2))'] | ['Runtime Error', 'Accepted'] | ['s924111900', 's067607953'] | [3060.0, 2940.0] | [17.0, 18.0] | [160, 50] |
p03219 | u549497563 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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)'] | ['Wrong Answer', 'Accepted'] | ['s432291674', 's155660522'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 44] |
p03219 | u550535134 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(X+Y//2)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s594613501', 's822199858', 's085592001'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [45, 47, 47] |
p03219 | u550895180 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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\ndef solve(X,Y):\n return X + Y/2\n\n\ndef readQuestion():\n ws = sys.stdin.readline().strip().split()\n a = int(ws[0])\n b = int(ws[1])\n return (a, b)\n\ndef main():\n print(solve(*readQuestion()))\n\n# Uncomment before submission\nmain()', 'import sys\n\ndef solve(X,Y):\n return X + Y/2\n\n\ndef readQuestion():\n ws = sys.stdin.readline().strip().split()\n a = int(ws[0])\n b = int(ws[1])\n return (a, b)\n\ndef main():\n print(solve(*readQuestion()))\n\n# Uncomment before submission\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()", "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', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s149547902', 's418495199', 's656134979', 's290733220'] | [2940.0, 2940.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 18.0] | [255, 257, 469, 470] |
p03219 | u553070631 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()]\n\nprint(x+1/2*y);', 'x,y=[int(i) for i in input().split()]\n\nprint(int(x+1/2*y));'] | ['Wrong Answer', 'Accepted'] | ['s789018600', 's940707795'] | [2940.0, 2940.0] | [17.0, 18.0] | [54, 59] |
p03219 | u554784585 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(X+Y//2)\n'] | ['Wrong Answer', 'Accepted'] | ['s240111229', 's909689820'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 44] |
p03219 | u555020136 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 random\nX= random.randint(1,100)\nn= random.randint(1,50)\nY= 2*n\nx=X+Y/2\nprint("A駅からC駅まで移動するのに"+str(x)+"円かかります")\n', 'import random\nX= random.randint(1,100)\nn= random.randint(1,50)\nY= 2*n\nx=X+Y/2\nprint("A駅からC駅までの運賃は"+str(x)+"円です")', 'x,y=map(int,input().split())\ns=x+y//2\nprint(s)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s305688111', 's380604512', 's133863269'] | [3316.0, 3316.0, 2940.0] | [21.0, 22.0, 17.0] | [154, 138, 46] |
p03219 | u556326496 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s016151277', 's314316047'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 50] |
p03219 | u556371693 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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=x+y//2\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s813063589', 's157807552'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 53] |
p03219 | u556477263 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(int((a + b) / 2))', 'a,b = map(int,input().split())\n\nprint(a + int(b / 2))'] | ['Wrong Answer', 'Accepted'] | ['s819911943', 's002929343'] | [9092.0, 9088.0] | [24.0, 29.0] | [55, 53] |
p03219 | u556589653 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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))', 'l=map(int,input().split())\nx=l[0]\ny=l[1]\nprint(x+y/2)', 'x,y = map(int,input().split())\nprint(x+int(y/2))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s555386457', 's734252507', 's170341604'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [48, 53, 48] |
p03219 | u558059388 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(x) for x in input().split())\nprint(a + (b/2))', 'a,b=(int(x) for x in input().split())\nprint(int(a + (b/2)))'] | ['Wrong Answer', 'Accepted'] | ['s595449981', 's918526812'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 59] |
p03219 | u558782626 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s045512605', 's334085934'] | [2940.0, 2940.0] | [17.0, 18.0] | [45, 46] |
p03219 | u560586171 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(x) for x in input().split())\nb = b / 2\nresult = a + new_b\nprint(result)', 'a,b = map(int, input().split())\ndiscount_b = b / 2\nresult = a + b\nprint(result)', 'a, b = map(int, input().split())\nif 1 <= a and b <= 100:\n result = a + b / 2\n print(result)', 'a,b = map(int input().split())\nb = b / 2\nresult = a + b\nprint(result)', 'a, b = map(int, input().split())\ndiscount_b = b / 2\nresult = a + discount_b\nprint(result)', 'a, b = map(int, input().split())\nif 1 <= a and b <= 100:\n result = a + b / 2\n print(result)', 'a, b = map(int, input().split())\nif 1 > a or b%2 != 0 or b > 100:\n SystemExit\nprint(int(a+b/2))'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s051519447', 's436155142', 's490008866', 's602397146', 's831870380', 's878260448', 's552328014'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [83, 79, 93, 69, 89, 93, 96] |
p03219 | u560952001 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ["x=input('X')\ny=input('Y')\nint_x=int(x)\nint_y=int(y)\na=(int_x+int_y)/2\nprint(a)", 's=input().split()\nx=int(s[0])\ny=int(s[1])\na=x+y/2\nprint(a)\n', 's=input().sprit()\nx=int(s[0])\ny=int(s[1])\na=x+y/2\nprint(a)\n', "x=input('AからBの運賃')\ny=input('BからCの運賃')\nint_x=int(x)\nint_y=int(y)\na=(int_x+int_y)/2\nprint(a)\n", 's=input().split()\nx=int(s[0])\ny=int(s[1])\na=x+y/2\nprint(int(a))\n'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s185101530', 's460565263', 's632446300', 's639252179', 's493442813'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [78, 59, 59, 111, 64] |
p03219 | u561828236 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 + int(b / 2)\nprint(c)'] | ['Wrong Answer', 'Accepted'] | ['s710112410', 's089885541'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 58] |
p03219 | u562016607 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['\nusing namespace std;\nint main(void){\n int X,Y;\n cin >> X >> Y;\n cout << X+Y/2 << endl;\n return 0;\n}\n', 'X,Y=map(int,input().split())\nprint(X+Y//2)\n'] | ['Runtime Error', 'Accepted'] | ['s265592090', 's551959996'] | [2940.0, 2940.0] | [17.0, 17.0] | [132, 43] |
p03219 | u562935282 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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)', "def main():\n X, Y = map(int, input().split())\n print(X + (Y >> 1))\n\n\nif __name__ == '__main__':\n main()\n"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s355539496', 's963097224', 's438645078'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [49, 48, 113] |
p03219 | u563722393 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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, M = map(int, input().split())\ndata = []\nfor m in range(M):\n data.append(list(map(int, input().split())))\n\ncorresp = {}\nfor n in range(1, N+1):\n data_n = []\n for i in range(M):\n if data[i][0] == n:\n data_n.append(data[i])\n sort_n = sorted(data_n, key=lambda data_n_i: data_n_i[1])\n for k in range(len(sort_n)):\n corresp.update({str(sort_n[k]):k+1})\n \n\nfor i in range(M):\n print('{0:012d}'.format(data[i][0]*100000+corresp[str(data[i])]))\n", 'X, Y = map(int, input().split())\n\nprint(X+(Y/2))\n', "N, M = map(int, input().split())\ndata = [[int(i) for i in input().split()] for m in range(M)]\n \ncorresp = {}\nfor n in range(1, N+1):\n data_n = []\n for i in range(M):\n if data[i][0] == n:\n data_n.append(data[i])\n sort_n = sorted(data_n, key=lambda data_n_i: data_n_i[1])\n for k in range(len(sort_n)):\n corresp.update({str(sort_n[k]):k+1})\n \n\nfor i in range(M):\n print('{0:012d}'.format(data[i][0]*100000+corresp[str(data[i])]))\n", "\nN, M = map(int, input().split())\ndata = [[int(i) for i in input().split()] for i in range(M)]\n \ncorresp = {}\nfor n in range(1, N+1):\n data_n = []\n for i in range(M):\n if data[i][0] == n:\n data_n.append(data[i])\n sort_n = sorted(data_n, key=lambda data_n_i: data_n_i[1])\n for k in range(len(sort_n)):\n corresp.update({str(sort_n[k]):k+1})\n \n\nfor i in range(M):\n print('{0:012d}'.format(data[i][0]*100000+corresp[str(data[i])]))\n", 'X, Y = map(int(), input().split())\n\nprint(X+Y/2)', "\nN, M = map(int, input().split())\ndata = []\nfor m in range(M):\n data.append(map(int, input().split()))\n \ncorresp = {}\nfor n in range(1, N+1):\n data_n = []\n for i in range(M):\n if data[i][0] == n:\n data_n.append(data[i])\n sort_n = sorted(data_n, key=lambda data_n_i: data_n_i[1])\n for k in range(len(sort_n)):\n corresp.update({str(sort_n[k]):k+1})\n \n\nfor i in range(M):\n print('{0:012d}'.format(data[i][0]*100000+corresp[str(data[i])]))\n", 'X, Y = map(int, input().split())\n\nprint(X+Y/2)\n', 'X, Y = map(int, input().split())\n\nprint(X+(Y//2))'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s138352667', 's315090389', 's400462180', 's554255610', 's568478466', 's572051480', 's874213319', 's338615400'] | [3064.0, 2940.0, 3064.0, 3064.0, 2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [485, 49, 471, 472, 48, 481, 47, 49] |
p03219 | u563952871 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['list = [int(i) for i in input().split()]\n\nprint(list[0] + list[1]/2)', 'list = [int(i) for i in input().split()]\n \nprint(int(list[0] + list[1]/2))'] | ['Wrong Answer', 'Accepted'] | ['s091748729', 's390541494'] | [2940.0, 2940.0] | [18.0, 18.0] | [68, 74] |
p03219 | u564906058 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['x,y = map(int, input().split())\nprint((x+y)/2)', 'x,y = map(int, input().split())\nprint(int((x+y)/2))', 'x,y = map(int, input().split())\nprint(int(x+(y/2)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s347848310', 's989707810', 's325409342'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [46, 51, 51] |
p03219 | u565204025 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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\nn,m = map(int,input().split())\np = [0] * m\ny = [0] * m\nfor i in range(m):\n p[i],y[i] = map(int,input().split())\n\ncertificate = [[] for _ in range(n)]\n\nfor i in range(m):\n certificate[p[i]-1].append(y[i])\n\nfor i in range(len(certificate)):\n certificate[i].sort()\n\nfor i in range(m):\n number = ""\n number += str(p[i]).zfill(6)\n number += str(certificate[p[i]-1].index(y[i])+1).zfill(6)\n print(number)\n', '# -*- coding: utf-8 -*-\n\nx,y = map(int,input().split())\nprint(int(x + y / 2))\n'] | ['Runtime Error', 'Accepted'] | ['s081887486', 's878458596'] | [3316.0, 2940.0] | [19.0, 17.0] | [445, 78] |
p03219 | u566529875 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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))', 'n,m=map(int,input().split())\nprint(n+m//2)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s272014450', 's872514620', 's839099024'] | [2940.0, 2940.0, 2940.0] | [19.0, 17.0, 19.0] | [43, 48, 42] |
p03219 | u568576853 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s412922523', 's697169030', 's374941892'] | [2940.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0] | [39, 41, 46] |
p03219 | u569742427 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s312057089', 's980517235'] | [2940.0, 2940.0] | [18.0, 18.0] | [44, 49] |
p03219 | u570609369 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['hn = input().rstrip().split(" ")\nprint(int(hn[0])+int(hn[1])/2)', 'hn = input().rstrip().split(" ")\nprint(round(int(hn[0])+int(hn[1])/2))'] | ['Wrong Answer', 'Accepted'] | ['s478551067', 's955824461'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 70] |
p03219 | u571199625 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(' ')\n\nx = int(x)\ny = int(y)\n\nsum = x + y / 2\nprint(sum)", "x, y = input().split(' ')\n\nx = int(x)\ny = int(y)\n\nsum = x + y // 2\nprint(sum)"] | ['Wrong Answer', 'Accepted'] | ['s523683754', 's916162235'] | [2940.0, 2940.0] | [18.0, 18.0] | [76, 77] |
p03219 | u571750848 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\nC=X+Y/2\nprint(C)', 'X,Y=int(input().split())\nC=X+Y/2\nprint(C)', 'X,Y=map(int,input().split())\nx=X+Y/2\nprint(x)', 'X,Y=map(int,input().split())\nx=int(X+Y/2)\nprint(x)\n'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s011350047', 's888100395', 's948907273', 's167330757'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 19.0, 17.0] | [47, 41, 45, 51] |
p03219 | u573754721 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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());print(a+(b/2))', 'a,b=map(int,input().split());print(a+(b//2))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s236425321', 's900777207', 's778344204'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [43, 43, 44] |
p03219 | u577177664 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['X, Y = [int(x) for x in input().split()]\nprint(int(X) + int(Y) / 2)', 'X, Y = [int(x) for x in input().split()]\nprint(X + Y / 2)\n', 'print(int(input()) + int(input()) / 2)', 'X, Y = [int(x) for x in input().split()]\nprint(X + Y // 2)\n'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s046951079', 's500420400', 's860116941', 's137639242'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [67, 58, 38, 59] |
p03219 | u578501242 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(round(x+y/2))'] | ['Wrong Answer', 'Accepted'] | ['s949026004', 's103773300'] | [2940.0, 2940.0] | [17.0, 18.0] | [48, 55] |
p03219 | u580236524 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s328806158', 's800456063'] | [2940.0, 2940.0] | [18.0, 17.0] | [44, 49] |
p03219 | u580697892 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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)', 'X, Y = map(int, input())\nprint(int(X + Y/2))', 'X, Y = map(int, input())\nprint(X + Y/2)', 'a, b = map(int, input().split())\nprint(a+b/2)', '#coding: utf-8\nx, y = map(int, input().split())\nprint(int(x + y/2))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s039033889', 's526056504', 's563022135', 's943526016', 's839125154'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 18.0, 18.0, 18.0, 17.0] | [37, 44, 39, 45, 67] |
p03219 | u580806822 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()]\n\nprint(int(a+b/2)\n', '[a,b]=[int(i) for i in input().split()]\n\nprint(int(a+b/2))\n'] | ['Runtime Error', 'Accepted'] | ['s317439609', 's280133221'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 59] |
p03219 | u581603131 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s881086651', 's124830906'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 46] |
p03219 | u582333355 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 + int(Y/2))'] | ['Wrong Answer', 'Accepted'] | ['s507180411', 's741804940'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 58] |
p03219 | u584174687 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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\nif __name__ == \'__main__\':\n ken_num, city_num = list(map(int, input().split()))\n data = []\n for i in range(city_num):\n element = list(map(int, input().split())).append(i)\n data.append(element)\n \n\n \n # data = [[1,32,0], [2,63,1],[1,12,2]]\n\n data = sorted(data, key=lambda x: (x[0], x[1]))\n\n count = 1\n ken_num = 1\n ans_data = {}\n\n for i in range(city_num):\n number = data[i][2]\n if data[i][0] != ken_num:\n count = 1\n ken_num = data[i][0]\n chr = "{0:06d}".format(ken_num) + "{0:06d}".format(count)\n ans_data.update({number:chr})\n count += 1\n\n for i in range(city_num):\n print(ans_data[i])', 'a, b = list(map(int, input().split()))\nprint(a+int(b/2))'] | ['Runtime Error', 'Accepted'] | ['s803058614', 's372829930'] | [3064.0, 2940.0] | [19.0, 17.0] | [805, 56] |
p03219 | u585101972 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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+int(y/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s628315308', 's010837353'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 51] |
p03219 | u586754007 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['a, b = input().split()\na, b = int(a), int(b)\n\nprint(a+b/2)', 'a, b = input().split()\na, b = int(a), int(b)\n\nprint(int(a+(b/2)))'] | ['Wrong Answer', 'Accepted'] | ['s499056913', 's882375555'] | [2940.0, 2940.0] | [17.0, 19.0] | [58, 65] |
p03219 | u590595435 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s111955900', 's841625674'] | [3316.0, 3316.0] | [18.0, 19.0] | [47, 52] |
p03219 | u595372947 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 = list(map(int, input().split()))\ncompare = []\n\nfor i in range(N):\n kion = T - H[i]*0.006\n compare.append(abs(kion - A))\n Min = min(compare)\n #print('kion{}'.format(kion))\n \nprint(compare.index(Min)+1)\n#print(T,A)\n#print(H)\n#print('compare:{}'.format(compare))\n", 'X, Y = [int(i) for i in input().split()]\n\nans = X + (int(Y/2))\n\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s517069634', 's411958962'] | [3316.0, 2940.0] | [22.0, 17.0] | [376, 74] |
p03219 | u599547273 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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)', 'i=lambda:map(int,input().split());i();t,a=i();c=[abs(t-0.006*b-a)for b in i()];print(c.index(min(c))+1)', 'x,y=map(int,input().split());print(x+y//2)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s175987531', 's783624030', 's498698151'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0] | [41, 103, 42] |
p03219 | u600261652 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s799381887', 's827263717'] | [2940.0, 2940.0] | [18.0, 17.0] | [45, 46] |
p03219 | u601082779 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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().split());print(a+b/2)', '<>=~$";print+$\'+$`/2,$/', 'a,b=map(int,input().split());print(a+b/2)', 'a,b=map(int,input().split());print(a+b//2)'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s110467283', 's258519716', 's654399583', 's008790620'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [37, 23, 41, 42] |
p03219 | u603234915 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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\nN, M = map(int, input().split())\nP = [None] * (N+1)\nY = [None] * (N+1)\nfor i in range(M):\n p, y = map(int, input().split())\n P[i] = p\n Y[i] = y\nP = np.array(P)\nY = np.array(Y)\nPY = np.c_[P, Y]\nsort_ind = np.argsort(Y)\nPY_sort = PY[sort_ind]\ncount = [0] * (N+1)\nid_list = [None] * (N+1)\nfor i, py in enumerate(PY_sort):\n count[py[0]] += 1\n id_list[i] = (str(py[0]).zfill(6) + str(count[py[0]]).zfill(6))\nid_list = np.array(id_list)\nid_list = id_list[np.argsort(sort_ind)]\nfor city_id in id_list:\n print(city_id)', 'X, Y = map(int, input().split())\nprint(int(X + Y/2))'] | ['Runtime Error', 'Accepted'] | ['s903245662', 's903600838'] | [12508.0, 2940.0] | [148.0, 18.0] | [548, 52] |
p03219 | u603681803 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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().strip("").split(" "))\n\nprint(X + (Y/2))', '\nX, Y = map(int, input().strip("").split(" "))\n\nprint(int(X + (Y/2)))'] | ['Wrong Answer', 'Accepted'] | ['s712945825', 's959583920'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 69] |
p03219 | u604655161 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 ABC_113_A():\n X,Y = map(int, input().split())\n print(X+Y/2)\n \n\nif __name__ == '__main__':\n\n ABC_113_A()", "def ABC_113_A():\n X,Y = map(int, input().split())\n print(int(X+Y/2))\n \n\nif __name__ == '__main__':\n\n ABC_113_A()"] | ['Wrong Answer', 'Accepted'] | ['s589126256', 's492468366'] | [2940.0, 2940.0] | [17.0, 18.0] | [118, 123] |
p03219 | u606033239 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\ns = []\n\nfor i in h:\n s.append(abs(a-t+i*0.006))\n\nprint(s.index(min(s))+1)', 'X = int(input())\nY = int(input())\n\nx = X + Y/2\n\nprint(x) ', 'X = int(input())\nY = int(input())\n\nx = round(X + Y/2)\n\nprint(x) ', 'X = int(input())\nY = int(input())\n\nx = int(X + Y/2)\nprint(x)', '\nX = int(input())\nY = int(input())\n\nx = X + Y/2\n\nprint(x) ', 'X = int(input())\nY = int(input())\n\nx = X + Y/2\nprint(x)', 'X = input()\nY = input()\nprint(int(X+Y/2)', '\nX = int(input())\nY = int(input())\n\nx = X + Y/2\n\nprint(str(x)) ', 'X,Y = map(int,input().split())\nprint(X+Y/2)', 'input_X = input()\ninput_Y = input()\nX = int(input_X)\nY = int(input_X)\nx = X + Y/2\n\nprint(x) ', 'X = int(input())\nY = int(input())\n\nx = int(X + Y/2)\n\nprint(x)', 'X = int(input())\nY = int(input())\n\nx = X + Y/2\nprint(str(x))', 'n = int(input())\nt,a = map(int,input().split())\nh = list(map(int,input().split()))\ns = []\n\nfor i in range(n):\n s.append(abs(a-t+i*0.006))\n\nprint(s.index(min(s))+1)', '\nX = int(input())\nY = int(input())\n\nx = X + Y/2\n\nprint(round(x))', 'n = int(input())\nt,a = map(int,input().split())\nh = list(map(int,input().split()))\ns = []\n\nfor i in h:\n s.append(abs(753-t+a*0.006))\n\nprint(s.index(min(s))+1)', '\nX = int(input())\nY = int(input())\n\nx = X + Y/2\n\nprint(x)', 'n = int(input())\nt,a = map(int,input().split())\nh = list(map(int,input().split()))\ns = []\n\nfor i in h:\n s.append(abs(t-a-i*0.006))\n\nprint(s.index(min(s))+1)', 'X,Y = int(input()),int(input())\nx = X + Y/2\nprint(x)', 'X = int(input())\nY = int(input())\n\nx = X + Y/2\nprint(int(x))', 'x = int(input())\ny = int(input())\nprint(int(x+y/2))', 'X = int(input())\nY = int(input())\n\nprint(round(X+Y/2)) ', '\nX = int(input())\nY = int(input())\n\nprint(X+Y/2)', 'X,Y = map(int,input().split())\nprint(X+Y//2)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', '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'] | ['s060756256', 's066891338', 's111105985', 's157064233', 's249178087', 's308631716', 's396262357', 's415507734', 's452925511', 's529394695', 's570639343', 's600946182', 's610847935', 's618436038', 's635227654', 's791267298', 's816357294', 's873629908', 's878916119', 's937265729', 's961777915', 's970650159', 's201855500'] | [3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [20.0, 18.0, 17.0, 17.0, 17.0, 19.0, 20.0, 18.0, 18.0, 18.0, 18.0, 18.0, 17.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 17.0, 18.0, 18.0] | [159, 60, 67, 60, 61, 55, 40, 66, 43, 95, 61, 60, 166, 64, 161, 57, 159, 52, 60, 51, 58, 48, 44] |
p03219 | u607741489 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s611078121', 's427591402'] | [2940.0, 2940.0] | [17.0, 18.0] | [43, 44] |
p03219 | u609814378 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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\nRe_Y = Y/2\n\n\nprint(X + Re_Y)', 'N = int(input())\nT = int(input())\nA = int(input())\nH = list(map(int, input().split()))\n\nans_l = []\n\nfor i in range(N):\n mater = H[i]\n Temp = (T - (mater*0.006))\n ans = abs(A - Temp)\n ans_l.append(ans)\n \nans_mini = min(ans_l)\n\nans_posi =[]\n\nfor h in range(N):\n if ans_l[h] == ans_mini:\n ans2 = h+1\n ans_posi.append(ans2)\n\n\nfor j in ans_posi:\n print(j,end="")', 'X,Y = map(int, input().split())\n\nRe_Y = Y//2\n\n\nprint(X + Re_Y)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s871527489', 's879128728', 's311133592'] | [2940.0, 3064.0, 3060.0] | [17.0, 18.0, 19.0] | [61, 389, 62] |
p03219 | u610473220 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\ndH =[]\nfor i in H:\n dH.append(abs(A - T + 0.006 * i))\nprint(dH.index(min(dH) + 1))', 'N = int(input())\nT, A= map(int, input().split())\nH = list(map(int, input().split()))\ndH =[]\nfor i in H:\n dH.append(abs(A - T + 0.006 * i))\nmin_dH = min(dH)\nprint(dH.index(min_dH) + 1)', 'X, Y = map(int, input().split())\nprint(X + Y // 2)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s714389925', 's804210615', 's145916698'] | [3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [170, 186, 50] |
p03219 | u611090896 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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))', 'x,y = map(int,input().split())\nprint(x+y/2)', 'x,y = map(int,input().split())\nprint(x+y//2)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s565269071', 's587842936', 's621075876'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [46, 43, 44] |
p03219 | u612636296 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['exec("a,b = map(int, input().split()); print(a + b/2);")', 'a, b = map(int, input().split())\nprint(int(a + b/2))'] | ['Wrong Answer', 'Accepted'] | ['s211403918', 's967660335'] | [2940.0, 2940.0] | [17.0, 17.0] | [56, 52] |
p03219 | u614964888 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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())\nprint(X+Y//2)'] | ['Wrong Answer', 'Accepted'] | ['s536832502', 's823170835'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 43] |
p03219 | u617023079 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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\nn = int(input())\nt,a = map(int, input().split())\nh = input().split()\n\nh = np.array(h, dtype = float)\nh = t - 0.006 * h\nh = abs(a-h)\nprint(np.argmin(h)+1)\n\n\n\n\n\n', '\nx, y = map(int, input().split())\n\nprint(x + y/2)\n\n', '\nx, y = map(int, input().split())\n\nprint(x + int(y/2))\n\n\n\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s118630172', 's553330034', 's230647714'] | [18500.0, 2940.0, 2940.0] | [328.0, 17.0, 18.0] | [179, 51, 58] |
p03219 | u620846115 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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*0.5)', 'x,y=map(int,input().split())\nprint(x + y//2)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s560643205', 's954663378', 's161513664'] | [9060.0, 9092.0, 9172.0] | [30.0, 28.0, 27.0] | [43, 45, 44] |
p03219 | u623065116 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 = map(int, input().split())\n\nfare = ab + bc/2\n\nprint(fare)\n', 'ab, bc = map(int, input().split())\n\nfare = int(ab + bc/2)\n\nprint(fare)\n\n'] | ['Wrong Answer', 'Accepted'] | ['s870414413', 's307632811'] | [2940.0, 3064.0] | [17.0, 17.0] | [66, 72] |
p03219 | u623601489 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['x,y=map(int,input().split())\na=x+y/2\nprint(a)', 'x,y=map(int,input().split())\na=x+y//2\nprint(a)'] | ['Wrong Answer', 'Accepted'] | ['s875141866', 's023745061'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 46] |
p03219 | u624613992 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s112240508', 's355617115'] | [8792.0, 9060.0] | [26.0, 27.0] | [39, 47] |
p03219 | u626337957 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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)', 'X, Y = map(int, input().split())\nprint((X+Y)//2)\n', 'N = int(input())\nT, A = map(int, input().split())\nH = list(map(int, input().split()))\n\nans = 0\nmin_diff = 10**5\nfor i in range(N):\n if abs((T - H[i]*0.006) - A) < min_diff:\n ans = i+1\n min_diff = abs((T - H[i]*0.006) - A)\nprint(ans)\n', 'X, Y = map(int, input())\nprint((X+Y)//2)\n', 'X, Y = map(int, input().split())\nprint(X+Y//2)\n'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s082654533', 's296347866', 's490184493', 's975873941', 's997756691'] | [2940.0, 2940.0, 3060.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 18.0, 17.0] | [35, 49, 240, 41, 47] |
p03219 | u626468554 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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())\n#n,k = map(int,input().split())\n#x = list(map(int,input().split()))\n\n\nn,k = map(int,input().split())\n\nprint(x+y//2)', '#n = int(input())\n#n,k = map(int,input().split())\n#x = list(map(int,input().split()))\n\n\nn,k = map(int,input().split())\n\nprint(n+k//2)'] | ['Runtime Error', 'Accepted'] | ['s265748102', 's802455214'] | [2940.0, 2940.0] | [17.0, 17.0] | [133, 133] |
p03219 | u630004940 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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())\nZ=int(X+Y/2)\nprint(Z)'] | ['Wrong Answer', 'Accepted'] | ['s451692436', 's605071288'] | [2940.0, 2940.0] | [19.0, 17.0] | [41, 50] |
p03219 | u631429391 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s762222235', 's961789987', 's765114993'] | [2940.0, 2940.0, 2940.0] | [17.0, 19.0, 18.0] | [45, 43, 50] |
p03219 | u633548583 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\nli=[]\nfor h in H:\n li.append(abs(A-(T-0.006*h)))\nprint(li.index(min(li))+1)\n', 'x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(x+y//2)\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s168710023', 's183435898', 's410039502'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [156, 41, 43] |
p03219 | u633684453 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(x+y//2)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s365569157', 's439624818', 's509920810'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [32, 41, 42] |
p03219 | u634461820 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['X , Y = input().strip().split(" ")\nprint(int(X) + int(Y)/2)\n', 'X , Y = input().strip().split(" ")\nans = (int(X) + int(Y)/2)\nprint(int(ans))\n'] | ['Wrong Answer', 'Accepted'] | ['s242551983', 's666721207'] | [2940.0, 2940.0] | [17.0, 18.0] | [60, 77] |
p03219 | u635182517 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 //= 2\nprint(x + y)\n'] | ['Wrong Answer', 'Accepted'] | ['s603053689', 's744200738'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 53] |
p03219 | u636775911 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 i for i in input.split()]\nprint(n[0]+n[1]/2)', 'n=[int(i) for i in input.split()]\nprint(n[0]+n[1]/2)', 'n=[int(i) for i in input().split()]\nprint(int(n[0]+n[1]/2))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s067809486', 's297689327', 's796180284'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [51, 52, 59] |
p03219 | u638033979 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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()))\n\nprint(L[0]+l[1]//2)', 'L = list(map(int,input().split()))\n\nprint(L[0]+L[1]//2)'] | ['Runtime Error', 'Accepted'] | ['s638035850', 's041632354'] | [9092.0, 9088.0] | [23.0, 25.0] | [55, 55] |
p03219 | u638282348 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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"))'] | ['Wrong Answer', 'Accepted'] | ['s994043902', 's634371944'] | [2940.0, 2940.0] | [17.0, 19.0] | [45, 46] |
p03219 | u640323045 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s281480855', 's623644794'] | [3060.0, 2940.0] | [19.0, 17.0] | [41, 42] |
p03219 | u641460756 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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(inout().split())\nb=int(int(a[0])+int(a[1])/2)\nprint(b)\n', 'a=list(input().split())\nX=int(a[0])\nY=int(a[1])\nz=X+Y/2\nprint(z)', 'a=list(inout().split())\nb=int(a[0])+int(a[1])/2\nprint(b)', 'a=input().split()\nb=int(a[0])\nc=int(a[1])\nd=round(b+c/2)\nprint(d)'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s011310413', 's242498217', 's772902540', 's328571567'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 18.0] | [62, 64, 56, 65] |
p03219 | u642418876 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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)+int(Y)/2)\n', 'X,Y=map(int,input().split())\nprint(X+Y/2)\n', 'X,Y=map(int,input().split())\nprint(X+Y/2)\n', 'X,Y=map(int,input().split())\nbus=Y/2\nprint(X+int(bus))\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s165520663', 's296107199', 's879422919', 's870577625'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0] | [52, 42, 42, 55] |
p03219 | u643840641 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['x, y = map(int, input().split())\nprint(x + y/2)', 'import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n System.out.println(x + y/2);\n }\n}', 'x, y = map(int, input().split())\nprint(x + y//2)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s721591974', 's775580974', 's485065632'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [47, 212, 48] |
p03219 | u654536970 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] \nlist1_1 = list1[1] \n\nif (list1_0 + (list1_1 / 2)) <1000:\n print(list1_0 + (list1_1 / 2))\nelse:\n print(list1)', 'list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] \nlist1_1 = list1[1] \n\nprint(list1_0 + (list1_1 // 2))'] | ['Wrong Answer', 'Accepted'] | ['s332336542', 's255381535'] | [2940.0, 2940.0] | [20.0, 17.0] | [202, 140] |
p03219 | u658993896 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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=list(map(int,input().split()))\nprint(X+Y//2)'] | ['Runtime Error', 'Accepted'] | ['s631070778', 's630069727'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 48] |
p03219 | u659640418 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s860117887', 's546376289'] | [3060.0, 3064.0] | [19.0, 17.0] | [42, 47] |
p03219 | u661576386 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s781700891', 's796836161'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 50] |
p03219 | u663089555 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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))'] | ['Runtime Error', 'Accepted'] | ['s231911903', 's771129034'] | [3060.0, 2940.0] | [18.0, 17.0] | [46, 49] |
p03219 | u666961261 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus. How much does it cost to travel from Station A to Station C if she uses this ticket? | ['X, Y = int(input().split)\nT=0\nT=Y/2\nprint(X+T)', 'n,m = map(int,input().split())\nprint(n+(m/2))', 'n,m = map(int,input().split())\nprint(n+(m//2))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s233130282', 's314286363', 's823749692'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [46, 45, 46] |
p03219 | u667949809 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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'] | ['s158452389', 's855213084'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 48] |
p03219 | u668552255 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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, open(0).read().split())\nprint(str(a + b/2))', 'a,b = map(int, open(0).read().split())\nprint(str(a + b//2))'] | ['Wrong Answer', 'Accepted'] | ['s182748418', 's039856472'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 59] |
p03219 | u669770658 | 2,000 | 1,048,576 | There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station 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 = map(int, input().split())\nX, Y = a[0], a[1]\nprint(X + int(Y // 2))', 'a = map(int, input().split())\nX, Y = a[0], a[1]\nprint(X + int(Y / 2))', 'a = map(int, input().split())\nX, Y = a[0], a[1]\nprint(X + Y // 2)', 'print(int(input()) + int(input() / 2))', 'print(int(input()) + int(input()) // 2)', 'X, Y = input().split()\n\nprint(X + Y // 2)', 'X, Y = map(int, input().split())\n\nprint(X + Y // 2)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s046914614', 's421585568', 's447202153', 's450241953', 's744567966', 's909326224', 's243652966'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0] | [70, 69, 65, 38, 39, 41, 51] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.