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())
c = b/2 + a
print(c)


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())
c = b/2 + a
print(int(c))

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):
n = input()
for i in [0, 1, 2]:
  if n[i] == '1':
    n[i] == '9'
  if n[i] == '9':
    n[i] == '1'
print(int(n))

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):
from operator import itemgetter

N, M = map(int, input().split())

ci = []
pi = [0] * N
for i in range(M):
    ci.append([i] + list(map(int, input().split())))

ci.sort(key=itemgetter(1,2))
for c in ci:
    pi[c[1]-1] += 1
    prestr = str(c[1]).zfill(6)
    bhstr = str(pi[c[1]-1]).zfill(6)
    c.append(''.join([prestr, bhstr]))

ci.sort()
for c in ci:
    print(c[3])

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):
a,b = list(map(int,input().split())
print(a+b//2)

a,b = map(int,input().split())
print(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):
s = input().split()
print(int((s[0])+(int(s[1]))/2))

s = input().split()
N = int(s[0])
W = int(s[1])/2
print(N+W)


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

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

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

s = input().split()
N = int(s[0])
W = int(s[1])/2
print(int(N+W))

Verdicts: Runtime Error

Wrong Answer

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().split())
print(X+Y//2.0)

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):
a,b=input().split()
a=int(a)
b=int(b)
print(a+b/2)

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


a,b=input().split()
a=int(a)
b=int(b)
print("%.0d"%(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):
a = input().split()
print(a[0] + a[1]/2)

a = list(map(int, input().split()))
print(int(a[0] + a[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):
import numpy as np 
n , m = map(int, input().split())
l = np.array([list(map(int, input().split())) for _ in range(m)])
l2 = np.zeros(m)

l2 = l[:,0]*(10**6) + l[:,1]
l2 = np.sort(l2)

j = 1000000
k = 1
for i in range(m):
    if j+1000000 > l2[i]:
        l2[i] = j + k
        k += 1
    else :
        j += 1000000
        l2[i] = j + 1
        k = 2

for i in l2 :
    print('{0:012d}'.format(i))


    

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):
#coding : UTF-8
x,y = input.split()
print(int(x)+int(y/2))

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

#coding : UTF-8
x,y = map(int,input().split())
print(int(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):
p_y = []
p_y_dict = {}

N, M = map(int, input().split())
for i in range(M):
  p, y = map(int, input().split())
  p_y.append([p, y])
  p_y_dict.setdefault(p, []).append(y)

sorted_py_dict = {p: sorted(y) for p, y in p_y_dict.items()}

for a in p_y: 
  print(str(a[0]).zfill(6) + str(sorted_py_dict[a[0]].index(a[1]) + 1).zfill(6))
  
  

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 = 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):
n = int(input())
t, a = map(int,input().split())
li = list(map(int,input().split()))
n_temp = 2147483647
answer = 2147483647
for idx, temp in enumerate(li):
    i_temp = int(t - temp * 0.006)
    if (abs(a - n_temp) > abs(a -i_temp)):
        n_temp = i_temp
        answer = idx

print(answer+1)


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

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):
input_array = []
while True:
    try:
        input_array.append(input().split())
    except:
        break
for i in input_array:
    print(int(i[0] + i[1]/2))

input_array = []
while True:
    try:
        input_array.append(input())
    except:
        break
        
input_array = [[81 ,58],[4 ,54]]
for i in input_array:
    print(int(i[0] + i[1]/2))

import sys
input = sys.stdin.readline

input_array = []
input_array.append(input().split())

for i in input_array:
    print(int(int(i[0]) + int(i[1])/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())		# 5 7

print(X + (Y/2))

X, Y = map(int, input().split())		# 5 7

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):
x,y = map(int,inpu().split())
print(x+int(y/2))

x,y = map(int,input().split())
print(x+int(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):
a, b = map(int, input().split())

print(a + b / 2)

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

print(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 = list(map(input().split()))
print(x+y//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):
a,b = map(int,input().split())

print(a+b/2)




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

print(a+int(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,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):
a, b = map(int, input().split())
print(a + b / 2)

a, b = map(int, input().split())
print(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=int(input().split())
print((X+Y)//2)

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

X,Y=int(input())
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

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):
strX, strY = input().split()
x = int(strX)
y = int(strY)
y = y / 2
print(x + y)

import math
x, y = map(int,input().split())
y = y / 2
print(math.floor(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):
X,Y = int(input.split(' '))
print(X + (Y/2))

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

X,Y = input().split(' ')
x = int(X)
y = int(Y)

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(X + Y / 2)

X,Y = int(input())
print(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):
x, y = map(int, input().split())

z = x+y/2
print(z)

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):
x,y=(int(i) for  i in input().split(' ')
print(x+y//2)

x,y=(int(i) for  i in 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(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( 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):
a,b=map(int,input().split())
print(a+b/2)


a,b=map(int,input().split());print(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, 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)

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

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

print(a+b/2)

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

print(X+Y//2)

Verdicts: Wrong Answer

Wrong Answer

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)

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):
x, y = map(int, input().split())
               
print(x + y / 2)


x, y = int(input())

print(x + int(y / 2))


x, y = int(input())

print(x + y / 2)


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

print(x + int(y / 2))


Verdicts: 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):
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):
print(sum(list(map(int, input().split())))//2)

t, b = map(int, input().split())
print(t+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):
n=int(input())
t,a=map(int,input().split())
h=list(map(int,input().split()))
TA=10**10
num=0
for i in range(n):
    if TA>abs(a-(t-h[i]*0.006))>0:
        num=i+1
        TA=abs(a-(t-h[i]*0.006))
 
print(num)

n=int(input())
t,a=map(int,input().split())
h=list(map(int,input().split()))
TA=10**5+1
num=0
for i in range(n):
    if TA>abs(a-(t-h[i]*0.006)):
        num=i+1
        TA=abs(a-(t-h[i]*0.006))

print(num)

n=int(input())
t,a=map(int,input().split())
h=list(map(int,input().split()))
TA=10**5+1
num=0
for i in range(n):
    if TA>abs(a-(t-h[i]*0.006))>0:
        num=i+1
        TA=abs(a-(t-h[i]*0.006))
 
print(num)

n=int(input())
t,a=map(int,input().split())
h=list(map(int,input().split()))
TA=10**5+1
for i in range(n):
    if TA>abs(a-t+h[i]*0.006):
        ans=i+1
        TA=abs(a-t+h[i]*0.006)

print(ans)

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

Verdicts: 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())
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(int(a/2 + b))

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

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


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

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


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


Verdicts: Wrong Answer

Wrong Answer

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):

def main():

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


    


if __name__== "__main__":
    main() 


def main():

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


    


if __name__== "__main__":
    main() 

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):
x, y = map(int, input().split())
print(x+y/2)

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

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):
x, y = input().split(' ')
x = int(x)
y = int(y)

return y / 2 + x

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


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

diff = 10000
point = 10000

for x in range(n):
    temp = t - int(h[x]) * 0.006
    tmp = abs(a - temp)

    if tmp < diff:
        diff = tmp
        point = x + 1

print(point)


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

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=[int(i) for i in input().split()]
print("x+y/2")

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

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

x,y=[int(i) for i in input().split()]
print(round(x+y/2))

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):
print(int(input())+int(input())//2)

n,m=map(int,input().split())
print(n+m//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())
s = X + Y/2
print(s)



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

s = x + y//2

print(s)

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(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):
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):
x,y = tuple(map(int,input().split()))
 
print(x + y/2)

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



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

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

print(x + y/2)


x = int(input(x?\n))
y = int(input(y?\n))

print(x + y/2)


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

answer = int(x) + int(y)/2

print(int(answer))

Verdicts: Wrong Answer

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):
x,y=map(int,input().split())
print(x+y/2)


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

x,y=map(int,input().split())
print(int(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):
X,Y = map(int, input(),split())
XY = X + Y / 2
print(XY)


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

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

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

Verdicts: 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())
z = x+y/2
print(z)

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):
# -*- coding: utf-8 -*-

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

print("{}".format(z))

X, Y = [int(_) for _ in 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):
X Y = map(int, input().split())

print(X + int(Y / 2))

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

print(X + int(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())
ans = x + y / 2
print(ans)

x, y = map(int, input().split())
ans = x + y // 2
print(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 = input().split()
print(X + Y/2)

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

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

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


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(x+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())
print(int(x+y/2))

Verdicts: Runtime Error

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 = []
x = (input('').split())
print(int(x[0])+ int(x[1])/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):

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

print(x+y/2)

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

print(x+y/2)

x=input().split()

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






#





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

print(int(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 = 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):
# -*- coding:utf-8 -*-


def ID():
    N, M = [int(n) for n in input().split()]
    lst = [[n for n in input().split()] for _ in range(M)]
    sorted_lst = sorted(lst, key=lambda x: int(x[1]))
    memo = {}
    result = {}
    for p, x in sorted_lst:
        if p not in memo:
            memo[p] = 1
        else:
            memo[p] += 1
        higher = p.zfill(6)
        lower = "{0:06d}".format(memo[p])
        result[p + x] = higher + lower

    for p, x in lst:
        print(result[p+x])


if __name__ == '__main__':
    ID()

# -*- coding:utf-8 -*-


def Discount_Fare():
    X, Y = [int(n) for n in input().split()]
    print(X + (Y // 2))


if __name__ == '__main__':
    Discount_Fare()

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)

N,M = map(int,input().split())

print(N(N-1)//2+M(M-1)//2)


X,Y = map(int,input().split())
print(int(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):
X Y = map(int, input().split())
print(int(X + Y/2))

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):
if __name__ == '__main__':
    X, Y = map(int, input().split())

    print(int(X + y/2))



if __name__ == '__main__':
    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):
n=int(input())
t,a=map(int,input().split())
h=[abs((t-int(i)*6/1000)-a) for i in input().split()]
print(h.index(min(h))+1)

n=int(input())
t,a=map(int,input().split())
h=list(map(int,input().split()))
tmp=[]
tmp=[abs(int(t-h[i]*0.006)-a) for i in range(n)]
print(tmp.index(min(tmp))+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):
def resolve():
    n,m=map(int,input().split())
    py=[[0]*3 for _ in range(m)]
    for i in range(m):
        p,y=map(int,input().split())
        py[i][0],py[i][1],py[i][2]=p,y,i
    py.sort()
    ans=[[''] for _ in range(m)]
    cnt=[0]*(n+1)
    for p,y,i in py:
        cnt[p]+=1
        ans[i]='0'*(6-len(str(p)))+str(p)+'0'*(6-len(str(cnt[p])))+str(cnt[p])
    for i in ans:
        print(i)


if __name__ == '__main__':
    resolve()

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

Verdicts: Runtime Error

Accepted