Buggy python submission (verdict: Runtime Error):
K = int(input().split()[1])
As = [int(i) for i in input().split()]
As.sort(reverse=True)
bit_num = len(bin(K))-2
arr = [[int(s) for s in format(val,'b').zfill(bit_num)] for val in As]
temp = [0]*len(As)
for j in range(len(arr[0])):
    for i in range(len(arr)):
        temp[j] += arr[i][j]
ans = int("".join(["0" if i>len(arr)/2 else "1" for i in temp]), 2)
ans = ans if ans < K else K
print(sum([ans^i for i in As]))

Fixed submission:
str_ = input().split()
x = int(str_[0])
t = int(str_[1])
print(x/t)

Buggy python submission (verdict: Runtime Error):
K = int(input().split()[1])
As = [int(i) for i in input().split()]
As.sort(reverse=True)
print(bin(K))
bit_num = len(bin(K))-2
arr = [[int(s) for s in format(val,'b').zfill(bit_num)] for val in As]
arr = [sum(arr[i][j] for i in range(len(arr))) for j in range(len(arr[0]))]
ans = int("".join(["0" if i>len(arr)/2 else "1" for i in arr]), 2)
ans = ans if ans < K else K
print(sum([ans^i for i in As]))

Fixed submission:
str_ = input().split()
x = int(str_[0])
t = int(str_[1])
print(x/t)

Buggy python submission (verdict: Runtime Error):
K = int(input().split()[1])
As = [int(i) for i in input().split()]
As.sort(reverse=True)
bit_num = len(bin(K))-2
arr = [[int(s) for s in format(val,'b').zfill(bit_num)] for val in As]
temp = [0]*len(As)
for j in range(len(arr[0])):
    for i in range(len(arr)):
        temp[j] += arr[i][j]
ans = int("".join(["0" if i>len(arr)/2 else "1" for i in temp]), 2)
ans = ans if ans < K else K
print(sum([ans^i for i in As]))

Fixed submission:
str_ = input().split()
x = int(str_[0])
t = int(str_[1])
print(x/t)

Buggy python submission (verdict: Runtime Error):
K = int(input().split()[1])
As = [int(i) for i in input().split()]
As.sort(reverse=True)
bit_num = len(bin(K))-2
arr = [[int(s) for s in format(val,'b').zfill(bit_num)] for val in As]
# ここか？
arr = [sum([arr[i][j] for i in range(len(arr))]) for j in range(len(arr[0]))]


Fixed submission:
str_ = input().split()
x = int(str_[0])
t = int(str_[1])
print(x/t)

Buggy python submission (verdict: Runtime Error):
K = int(input().split()[1])
As = [int(i) for i in input().split()]
As.sort(reverse=True)
bit_num = len(bin(K))-2
arr = [[int(s) for s in format(val,'b').zfill(bit_num)] for val in As]
arr = [sum([arr[i][j] for i in range(len(arr))]) for j in range(len(arr[0]))]
ans = int("".join(["0" if i>len(arr)/2 else "1" for i in arr]), 2)
ans = ans if ans < K else K
print(sum([ans^i for i in As]))

Fixed submission:
str_ = input().split()
x = int(str_[0])
t = int(str_[1])
print(x/t)

Buggy python submission (verdict: Runtime Error):
import numpy as np
K = int(input().split()[1])
As = [int(i) for i in input().split()]
As.sort(reverse=True)
bit_num = len(bin(K))-2
arr = np.array([[int(s) for s in format(val,'b').zfill(bit_num)] for val in As])
ans = int("".join(["0" if i>arr.shape[0]/2 else "1" for i in np.sum(arr, axis=0)]), 2)
ans = ans if ans < K else K
print(sum([ans^i for i in As]))

Fixed submission:
str_ = input().split()
x = int(str_[0])
t = int(str_[1])
print(x/t)

Buggy python submission (verdict: Runtime Error):
x = int(input())
t = int(input())
print(x/t)

Fixed submission:
str_ = input().split()
x = int(str_[0])
t = int(str_[1])
print(x/t)