TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a,b=map(int,input().split)
print(a+b/2)

a,b=map(int,input().split())
print(a+b/2)

a,b=map(int,input().split())
print(int(a+b/2))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X,Y=map(int,input().split())
print(X+(Y/2))


X,Y=map(int,input().split())
print(int(X+(Y/2)))


Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
hn = input().rstrip().split(" ")
print(int(hn[0])+int(hn[1])/2)

hn = input().rstrip().split(" ")
print(round(int(hn[0])+int(hn[1])/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x, y = input().split(' ')

x = int(x)
y = int(y)

sum = x + y / 2
print(sum)

x, y = input().split(' ')

x = int(x)
y = int(y)

sum = x + y // 2
print(sum)

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X,Y=map(int,(input().split()))
C=X+Y/2
print(C)

X,Y=int(input().split())
C=X+Y/2
print(C)

X,Y=map(int,input().split())
x=X+Y/2
print(x)

X,Y=map(int,input().split())
x=int(X+Y/2)
print(x)


Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a,b=map(int,input().split())
print(a+(b/2))

a,b=map(int,input().split());print(a+(b/2))

a,b=map(int,input().split());print(a+(b//2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X, Y = [int(x) for x in input().split()]
print(int(X) + int(Y) / 2)

X, Y = [int(x) for x in input().split()]
print(X + Y / 2)


print(int(input()) + int(input()) / 2)

X, Y = [int(x) for x in input().split()]
print(X + Y // 2)


Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y=list(map(int, input().split()))
print(x+y/2)

x,y=list(map(int, input().split()))
print(round(x+y/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X,Y = map(int, input().split())
print(X+Y/2)

X,Y = map(int, input().split())
print(int(X+Y/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a, b = map(int, input())
print(a+b/2)

X, Y = map(int, input())
print(int(X + Y/2))

X, Y = map(int, input())
print(X + Y/2)

a, b = map(int, input().split())
print(a+b/2)

#coding: utf-8
x, y = map(int, input().split())
print(int(x + y/2))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
[a,b]=[int(i) for i in input().split()]

print(int(a+b/2)


[a,b]=[int(i) for i in input().split()]

print(int(a+b/2))


Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X, Y = list(map(int, input().split()))
print(X + Y/2)

X, Y = list(map(int, input().split()))
print(X + int(Y/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):


if __name__ == '__main__':
    ken_num, city_num = list(map(int, input().split()))
    data = []
    for i in range(city_num):
        element = list(map(int, input().split())).append(i)
        data.append(element)
    

    
    # data = [[1,32,0], [2,63,1],[1,12,2]]

    data = sorted(data, key=lambda x: (x[0], x[1]))

    count = 1
    ken_num = 1
    ans_data = {}

    for i in range(city_num):
        number = data[i][2]
        if data[i][0] != ken_num:
            count = 1
            ken_num = data[i][0]
        chr = "{0:06d}".format(ken_num) + "{0:06d}".format(count)
        ans_data.update({number:chr})
        count += 1

    for i in range(city_num):
        print(ans_data[i])

a, b = list(map(int, input().split()))
print(a+int(b/2))

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x, y = map(int, input().split())
print(x+y/2)


x, y = map(int, input().split())
print(x+int(y/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a, b = input().split()
a, b = int(a), int(b)

print(a+b/2)

a, b = input().split()
a, b = int(a), int(b)

print(int(a+(b/2)))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x, y = map(int, input().split())
print(x+(y/2))

x, y = map(int, input().split())
print(int(x+(y/2)))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
N = int(input())
T, A = [int(i) for i in input().split()]
H = list(map(int, input().split()))
compare = []

for i in range(N):
    kion = T - H[i]*0.006
    compare.append(abs(kion - A))
    Min = min(compare)
    #print('kion{}'.format(kion))
    
print(compare.index(Min)+1)
#print(T,A)
#print(H)
#print('compare:{}'.format(compare))


X, Y = [int(i) for i in input().split()]

ans = X + (int(Y/2))

print(ans)

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
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)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
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)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
import numpy as np

N, M = map(int, input().split())
P = [None] * (N+1)
Y = [None] * (N+1)
for i in range(M):
    p, y = map(int, input().split())
    P[i] = p
    Y[i] = y
P = np.array(P)
Y = np.array(Y)
PY = np.c_[P, Y]
sort_ind = np.argsort(Y)
PY_sort = PY[sort_ind]
count = [0] * (N+1)
id_list = [None] * (N+1)
for i, py in enumerate(PY_sort):
    count[py[0]] += 1
    id_list[i] = (str(py[0]).zfill(6) + str(count[py[0]]).zfill(6))
id_list = np.array(id_list)
id_list = id_list[np.argsort(sort_ind)]
for city_id in id_list:
    print(city_id)

X, Y = map(int, input().split())
print(int(X + Y/2))

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):

X, Y = map(int, input().strip("").split(" "))

print(X + (Y/2))


X, Y = map(int, input().strip("").split(" "))

print(int(X + (Y/2)))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
def ABC_113_A():
    X,Y = map(int, input().split())
    print(X+Y/2)
   

if __name__ == '__main__':

    ABC_113_A()

def ABC_113_A():
    X,Y = map(int, input().split())
    print(int(X+Y/2))
   

if __name__ == '__main__':

    ABC_113_A()

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
n = int(input())
t,a = map(int,input().split())
h = list(map(int,input().split()))
s = []

for i in h:
    s.append(abs(a-t+i*0.006))

print(s.index(min(s))+1)

X = int(input())
Y = int(input())

x = X + Y/2

print(x)    

X = int(input())
Y = int(input())

x = round(X + Y/2)

print(x)    

X = int(input())
Y = int(input())

x = int(X + Y/2)
print(x)


X = int(input())
Y = int(input())

x = X + Y/2

print(x)    

X = int(input())
Y = int(input())

x = X + Y/2
print(x)

X = input()
Y = input()
print(int(X+Y/2)


X = int(input())
Y = int(input())

x = X + Y/2

print(str(x))    

X,Y = map(int,input().split())
print(X+Y/2)

input_X = input()
input_Y = input()
X = int(input_X)
Y = int(input_X)
x = X + Y/2

print(x)    

X = int(input())
Y = int(input())

x = int(X + Y/2)

print(x)

X = int(input())
Y = int(input())

x = X + Y/2
print(str(x))

n = int(input())
t,a = map(int,input().split())
h = list(map(int,input().split()))
s = []

for i in range(n):
    s.append(abs(a-t+i*0.006))

print(s.index(min(s))+1)


X = int(input())
Y = int(input())

x = X + Y/2

print(round(x))

n = int(input())
t,a = map(int,input().split())
h = list(map(int,input().split()))
s = []

for i in h:
    s.append(abs(753-t+a*0.006))

print(s.index(min(s))+1)


X = int(input())
Y = int(input())

x = X + Y/2

print(x)

n = int(input())
t,a = map(int,input().split())
h = list(map(int,input().split()))
s = []

for i in h:
    s.append(abs(t-a-i*0.006))

print(s.index(min(s))+1)

X,Y = int(input()),int(input())
x = X + Y/2
print(x)

X = int(input())
Y = int(input())

x = X + Y/2
print(int(x))

x = int(input())
y = int(input())
print(int(x+y/2))

X = int(input())
Y = int(input())

print(round(X+Y/2))    


X = int(input())
Y = int(input())

print(X+Y/2)

X,Y = map(int,input().split())
print(X+Y//2)

Verdicts: 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
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X,Y = map(int, input().split())

Re_Y = Y/2


print(X + Re_Y)

N = int(input())
T = int(input())
A = int(input())
H = list(map(int, input().split()))

ans_l = []

for i in range(N):
    mater = H[i]
    Temp = (T - (mater*0.006))
    ans = abs(A - Temp)
    ans_l.append(ans)
 
ans_mini = min(ans_l)

ans_posi =[]

for h in range(N):
    if ans_l[h] == ans_mini:
        ans2 = h+1
        ans_posi.append(ans2)


for j in ans_posi:
    print(j,end="")

X,Y = map(int, input().split())

Re_Y = Y//2


print(X + Re_Y)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
N = int(input())
T, A= map(int, input().split())
H = list(map(int, input().split()))
dH =[]
for i in H:
    dH.append(abs(A - T + 0.006 * i))
print(dH.index(min(dH) + 1))

N = int(input())
T, A= map(int, input().split())
H = list(map(int, input().split()))
dH =[]
for i in H:
    dH.append(abs(A - T + 0.006 * i))
min_dH = min(dH)
print(dH.index(min_dH) + 1)

X, Y = map(int, input().split())
print(X + Y // 2)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y = map(int,input().split())
print(int(x/y))

x,y = map(int,input().split())
print(x+y/2)

x,y = map(int,input().split())
print(x+y//2)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
exec("a,b = map(int, input().split()); print(a + b/2);")

a, b = map(int, input().split())
print(int(a + b/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X,Y=map(int, input().split())

print(X+Y/2)

X,Y=map(int, input().split())
print(X+Y//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
import numpy as np

n = int(input())
t,a = map(int, input().split())
h = input().split()

h = np.array(h, dtype = float)
h = t - 0.006 * h
h = abs(a-h)
print(np.argmin(h)+1)








x, y = map(int, input().split())

print(x + y/2)




x, y = map(int, input().split())

print(x + int(y/2))





Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y=map(int,input().split())
print(x + y/2)

x,y=map(int,input().split())
print(x + y*0.5)

x,y=map(int,input().split())
print(x + y//2)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
ab, bc = map(int, input().split())

fare = ab + bc/2

print(fare)


ab, bc = map(int, input().split())

fare = int(ab + bc/2)

print(fare)



Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y=map(int,input().split())
a=x+y/2
print(a)

x,y=map(int,input().split())
a=x+y//2
print(a)

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y = map(int,input())
print(x + y //2)

x,y = map(int,input().split())
print(x + y //2)

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X, Y = int(input())
print((X+Y)//2)

X, Y = map(int, input().split())
print((X+Y)//2)


N = int(input())
T, A = map(int, input().split())
H = list(map(int, input().split()))

ans = 0
min_diff = 10**5
for i in range(N):
  if abs((T - H[i]*0.006) - A) < min_diff:
    ans = i+1
    min_diff = abs((T - H[i]*0.006) - A)
print(ans)


X, Y = map(int, input())
print((X+Y)//2)


X, Y = map(int, input().split())
print(X+Y//2)


Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
#n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))


n,k = map(int,input().split())

print(x+y//2)

#n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))


n,k = map(int,input().split())

print(n+k//2)

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X,Y=map(int,input().split())
print(X+Y/2)

X,Y=map(int,input().split())
Z=int(X+Y/2)
print(Z)

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y = map(int,input().split())
print(x + y/2)

x,y = map(int,input().split())
print(x+y/2)

x,y = map(int,input().split())
print(int(x + y/2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
N=int(input())
T,A=map(int,input().split())
H=list(map(int,input().split()))
li=[]
for h in H:
    li.append(abs(A-(T-0.006*h)))
print(li.index(min(li))+1)


x,y=map(int,input().split())
print(x+y/2)

x,y=map(int,input().split())
print(x+y//2)


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y=input().split()
print(x+y/2)

x,y=map(int,input().split())
print(x+y/2)

x,y=map(int,input().split())
print(x+y//2)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X , Y = input().strip().split(" ")
print(int(X) + int(Y)/2)


X , Y = input().strip().split(" ")
ans = (int(X) + int(Y)/2)
print(int(ans))


Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x, y = map(int,input().split())
y = y / 2
print(x + y)

x, y = map(int,input().split())
y //= 2
print(x + y)


Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
n=[int i for i in input.split()]
print(n[0]+n[1]/2)

n=[int(i) for i in input.split()]
print(n[0]+n[1]/2)

n=[int(i) for i in input().split()]
print(int(n[0]+n[1]/2))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
L = list(map(int,input().split()))

print(L[0]+l[1]//2)

L = list(map(int,input().split()))

print(L[0]+L[1]//2)

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
print(eval(input().replace(" ", "+") + "/2"))

print(eval(input().replace(" ", "+") + "//2"))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a=list(inout().split())
b=int(int(a[0])+int(a[1])/2)
print(b)


a=list(input().split())
X=int(a[0])
Y=int(a[1])
z=X+Y/2
print(z)

a=list(inout().split())
b=int(a[0])+int(a[1])/2
print(b)

a=input().split()
b=int(a[0])
c=int(a[1])
d=round(b+c/2)
print(d)

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X,Y=map(int,input().split())
print(int(X)+int(Y)/2)


X,Y=map(int,input().split())
print(X+Y/2)


X,Y=map(int,input().split())
print(X+Y/2)


X,Y=map(int,input().split())
bus=Y/2
print(X+int(bus))


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x, y = map(int, input().split())
print(x + y/2)

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    System.out.println(x + y/2);
  }
}

x, y = map(int, input().split())
print(x + y//2)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] 
list1_1 = list1[1] 

if (list1_0 + (list1_1 / 2)) <1000:
    print(list1_0 + (list1_1 / 2))
else:
    print(list1)

list1 = [int(a) for a in input().split()]
list1_0 = list1[0] 
list1_1 = list1[1] 

print(list1_0 + (list1_1 // 2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
print(int(input())+int(input())//2)

X,Y=list(map(int,input().split()))
print(X+Y//2)

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y=map(int, input().split())
print(x+y/2)

x,y=map(int, input().split())
print(int(x+y/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a,b = map(int(), input().split())
print(a+b/2)

a,b = map(int, input().split())
print(int(a+b/2))

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X, Y = int(input().split)
T=0
T=Y/2
print(X+T)

n,m = map(int,input().split())
print(n+(m/2))

n,m = map(int,input().split())
print(n+(m//2))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a,b = map(int, open(0).read().split())
print(str(a + b/2))

a,b = map(int, open(0).read().split())
print(str(a + b//2))

Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a = map(int, input().split())
X, Y = a[0], a[1]
print(X + int(Y // 2))

a = map(int, input().split())
X, Y = a[0], a[1]
print(X + int(Y / 2))

a = map(int, input().split())
X, Y = a[0], a[1]
print(X + Y // 2)

print(int(input()) + int(input() / 2))

print(int(input()) + int(input()) // 2)

X, Y = input().split()

print(X + Y // 2)

X, Y = map(int, input().split())

print(X + Y // 2)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
X, Y = int(input().split())
print(X+Y//2)

X, Y = map(int,input().split())
print(X+Y//2)


Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
import numpy as np
def main():
    ttt = []
    n = int(input())
    N, M = map(int, input().split())
    e = list(map(int, input().split()))
    
    #n = 3
    #e = [[21,-11],[81234,94124,52141
    for j in range(n):
        t = N - e[j]*0.006
        tt = abs(M - t)
        ttt.append(tt)
    ttt = np.array(ttt)
    print(np.argmin(ttt)+1)
main()

import numpy as np
def main():
    ttt = []
    n = int(input())
    N, M = map(int, input().split())
    e = list(map(int, input().split()))
    
    #n = 3
    #e = [[21,-11],[81234,94124,52141
    for j in range(n):
        t = N - e[j]*0.006
        tt = abs(M - t)
        ttt.append(tt)
    ttt = np.array(ttt)
    print(np.argmin(ttt)+1)
main()


def main():
  a, b = [int(_) for _ in input().split()]
  print(a+b/2)
main()

a = input().split()
print(int(a[0]+a[1]/2))

def main():
  a, b = (int(_) for _ in input().split())
  print(int(a+b/2))
main()

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y = map(int,input().split())
print(x+y/2)

x,y = map(int,input().split())
print(x+int(y/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
a,b=map(int,input().split())

print(a+b/2)

a,b=map(int,input().split())

print(int(a+b/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
# -*- coding:UTF-8 -*-

'''
@author kasaii
@data 11.10.18
'''

def input_and_check(string='Input costs without using ticket:'):
    #input
    costs = input(string)
    a_to_b = int(costs.split(' ')[0])
    b_to_c = int(costs.split(' ')[1])
    #check
    if (1 <= a_to_b \
    and b_to_c <= 100) \
    and (b_to_c % 2 == 0) \
    and (type(a_to_b) \
    and type(b_to_c) == int):
        return a_to_b,b_to_c
    else:
        return input_and_check('Wrong input, reenter:')

def calculate(total_costs):
    return total_costs[0] + total_costs[1]/2

if __name__ == '__main__':
    print(int(calculate(input_and_check())))


ab,bc = map(int,input().split(' '))
print(int(ab+(bc/2)))


Verdicts: Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
print(int(input())+int(input())//2)

x,y=map(int,input().split())
print(x+y//2)

Verdicts: Runtime Error

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
improt sys

def solve (a,b):
    c=int(b)//2
    D=int(a)+int(c)
    print(D)

def readQuestion（）：
    ws = sys.stdin.readline（）。strip（）。split（）
    a = int（ws [0]）
    b = int（ws [1]）
    return（a、b）

def main（）：
    print（solve（* readQuestion（）））

＃提出前にコメントを外す
main（）

a=input()
b=input()
c=int(b)//2
D=int(a)+int(c)
print(D)

import sys

def solve (a,b):
    c=int(b)//2
    D=int(a)+int(c)
    print(D)
    
def readQuestion():
    ws = sys.stdin.readline().strip().split()
    a = int(ws[0])
    b = int(ws[1])
    return (a, b)

def main():
    print(solve(*readQuestion()))

# Uncomment before submission
 main()


import sys

def solve(a, b):
   def a (a,b):
    return(int(a)+int(b)//2)


def readQuestion():
    ws = sys.stdin.readline().strip().split()
    a = int(ws[0])
    b = int(ws[1])
    return (a, b)

def main():
    print(solve(*readQuestion()))

# Uncomment before submission
main()

import sys

def solve(a, b):
    return(int(a)+int(b)//2)


def readQuestion():
    ws = sys.stdin.readline().strip().split()
    a = int(ws[0])
    b = int(ws[1])
    return (a, b)

def main():
    print(solve(*readQuestion()))

# Uncomment before submission
main()

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: There is a train going from Station A to Station B that costs X yen (the currency of Japan).  Also, there is a bus going from Station B to Station C that costs Y yen.  Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.  How much does it cost to travel from Station A to Station C if she uses this ticket?

Submission attempts (in order):
x,y = map(int,input())
print(x+y//2)

x,y = map(int,input().split())
print(x+y//2)

Verdicts: Runtime Error

Accepted