Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
n, m, l = [int(i) for i in input().split()]

A = []
B = []
C = []

for ni in range(n):
    A.append([int(i) for i in input().split()])

for mi in range(m):
    B.append([int(i) for i in input().split()])

for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]

for li in range(l):
     print(" ".join([str(s) for s in C[li]]))

Fixed submission:
n, m, l = [int(i) for i in input().split()]

A = []
B = []
C = []

for ni in range(n):
    A.append([int(i) for i in input().split()])

for mi in range(m):
    B.append([int(i) for i in input().split()])

for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]

for ni in range(n):
     print(" ".join([str(s) for s in C[ni]]))

Buggy python submission (verdict: Runtime Error):
n, m, l = [int(i) for i in input().split()]

A = []
B = []
C = []

for ni in range(n):
    A.append([int(i) for i in input().split()])

for mi in range(m):
    B.append([int(i) for i in input().split()])

for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]

for li in range(l):
     print(" ".join([str(s) for s in C[li]]))

Fixed submission:
n, m, l = [int(i) for i in input().split()]

A = []
B = []
C = []

for ni in range(n):
    A.append([int(i) for i in input().split()])

for mi in range(m):
    B.append([int(i) for i in input().split()])

for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]

for ni in range(n):
     print(" ".join([str(s) for s in C[ni]]))
Buggy python submission (verdict: Runtime Error):
x ** 3
x = 2

Fixed submission:
x = int(input())
print(x**3)

Buggy python submission (verdict: Runtime Error):
x ** 3

Fixed submission:
x = int(input())
print(x**3)
Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input(),split()]
print(a * b, (a + b) * 2)

Fixed submission:
a, b = [int(i) for i in input().split()]
print(a * b, (a + b) * 2)
Buggy python submission (verdict: Runtime Error):
s = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format(h,m,s))

Fixed submission:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format(h,m,s))
Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input().split()]
if a < b:
    print("a < b")

    elif ???:
    print("a > b")

    else:
    print("a == b")

Fixed submission:
a, b = [int(i) for i in input().split()]
if a < b:
    print("a < b")

elif a > b:
    print("a > b")

else:
    print("a == b")

Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input().split()]
if a < b:
    print("a < b")

    elif a > b:
    print("a > b")

    else:
    print("a == b")

Fixed submission:
a, b = [int(i) for i in input().split()]
if a < b:
    print("a < b")

elif a > b:
    print("a > b")

else:
    print("a == b")
Buggy python submission (verdict: Runtime Error):
data = [int(i) for i in input().split()]

data.sort()
print("{0}{1}{2}",format(data[0],data[1],data[2]))

Fixed submission:
data = [int(i) for i in input().split()]

data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))

Buggy python submission (verdict: Runtime Error):
data =[int(i) for i in input().split()]

data.sort()
print("{0}{1}{2}",format(data[0],data[1],data[2]))

Fixed submission:
data = [int(i) for i in input().split()]

data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))

Buggy python submission (verdict: Runtime Error):
data = [int(i) for i in (input().split())]

data.sort()
print("{0}{1}{2}",format(data[0],data[1],data[2]))

Fixed submission:
data = [int(i) for i in input().split()]

data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))

Buggy python submission (verdict: Runtime Error):
data = [int(i) for i in input().split()]

data,sort()
print("{0}{1}{2}".format(data[0],data[1],data[2]))

Fixed submission:
data = [int(i) for i in input().split()]

data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))
Buggy python submission (verdict: Runtime Error):
def main():
    i = 1
    while True:
        x = int(raw_input().strip())
        if x == 0:
            break
        print "Case %d: %d" % (i, x)
        i += 1

if __name__ == '__main__':
main()

Fixed submission:
count = 1

while True:
    x = int(input())
    if x != 0:
        print("Case {0}: {1}".format(count, x))
        count += 1

    else:
        break

Buggy python submission (verdict: Runtime Error):
def main():
    i = 1
    while True:
        x = [int(i) for i in input().split()]
        if x == 0:
            break
        print "Case %d: %d" % (i, x)
        i += 1

if __name__ == '__main__':
main()

Fixed submission:
count = 1

while True:
    x = int(input())
    if x != 0:
        print("Case {0}: {1}".format(count, x))
        count += 1

    else:
        break
Buggy python submission (verdict: Runtime Error):
def main():
    while True:
        xy = [int(v) for v in raw_input().split()]
        if sum(xy) == 0:
            break
        print " ".join([str(v) for v in sorted(xy)])

if __name__ == '__main__':
    main()

Fixed submission:
while True:
    x, y = [int(i) for i in input().split()]

    if x == y == 0:
        break

    if x > y:
        x, y = y, x

    print(x, y)
Buggy python submission (verdict: Runtime Error):
def main():
    (a, b) = [int(i) for i in input().split()]
    print "%d %d %f" %(a / b, a % b, a / float(b))

if __name__ == '__main__':
    main()

Fixed submission:
def main():
    (a, b) = [int(i) for i in input().split()]
    print ("%d %d %f" %(a / b, a % b, a / float(b)))

if __name__ == '__main__':
    main()
Buggy python submission (verdict: Runtime Error):
import math
def main():
    r = [int(i) for i in input().strip()]
    print ("%f %f" % (r ** 2 * math.pi,  2 * r * math.pi))

if __name__ == '__main__':
    main()

Fixed submission:
import math
r = float(input())

s = r * r * math.pi
l = r * 2 * math.pi

print("{0:.5f} {1:.5f}".format(s, l))

Buggy python submission (verdict: Runtime Error):
import math
def main():
    r = float [int(i) for i in input().sprit()]
    print ("%f %f" % (r ** 2 * math.pi,  2 * r * math.pi))

if __name__ == '__main__':
    main()

Fixed submission:
import math
r = float(input())

s = r * r * math.pi
l = r * 2 * math.pi

print("{0:.5f} {1:.5f}".format(s, l))

Buggy python submission (verdict: Runtime Error):
import math
def main():
    r = float[int(i) for i in input().sprit()]
    print ("%f %f" % (r ** 2 * math.pi,  2 * r * math.pi))

if __name__ == '__main__':
    main()

Fixed submission:
import math
r = float(input())

s = r * r * math.pi
l = r * 2 * math.pi

print("{0:.5f} {1:.5f}".format(s, l))

Buggy python submission (verdict: Runtime Error):
import math
def main():
    r = [int(i) for i in input().sprit()]
    print ("%f %f" % (r ** 2 * math.pi,  2 * r * math.pi))

if __name__ == '__main__':
    main()

Fixed submission:
import math
r = float(input())

s = r * r * math.pi
l = r * 2 * math.pi

print("{0:.5f} {1:.5f}".format(s, l))

Buggy python submission (verdict: Runtime Error):
import math
def main():
    r = [int(i) for i in input().sprit()]
    print ("%f %f" % (r ** 2 * math.pi,  2 * r * math.pi))

if __name__ == '__main__':
    main()

Fixed submission:
import math
r = float(input())

s = r * r * math.pi
l = r * 2 * math.pi

print("{0:.5f} {1:.5f}".format(s, l))
Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input().sprit()
    a = int(a)
    b = int(b)

    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)

    if op == '*':
        print(a * b)

    if op == '/':
        print(a / b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)

    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)

    if op == '*':
        print(a * b)

    if op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input().sprit()
    a = int(a)
    b = int(b)

    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)

    if op == '*':
        print(a * b)

    if op == '//':
        print(a // b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)

    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)

    if op == '*':
        print(a * b)

    if op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input().sprit()
    a = int(a)
    b = int(b)

    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)

    if op == '*':
        print(a * b)

    if op == '%':
        print(a % b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)

    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)

    if op == '*':
        print(a * b)

    if op == '/':
        print(a // b)
Buggy python submission (verdict: Runtime Error):
count = input()
data = [int(i) for i in input().sprit()]

print(min(data), max(data), sum(data))

Fixed submission:
count = input()
data = [int(i) for i in input().split()]

print(min(data), max(data), sum(data))

Buggy python submission (verdict: Runtime Error):
count = input()
data = [int(i) for i in input().sprit()]
    print(min(data), max(data), sum(data),)

Fixed submission:
count = input()
data = [int(i) for i in input().split()]

print(min(data), max(data), sum(data))
Buggy python submission (verdict: Runtime Error):
while True:
    H, W = [int(i) for i in input().sprit()]
    if H == W == 0:
        break

    for h in range(H):
        for w in range(W):
            print('#', end='')
        
        print()

    print()

Fixed submission:
while True:
    H, W = [int(i) for i in input().split()]
    if H == W == 0:
        break

    for h in range(H):
        for w in range(W):
            print('#', end='')
        
        print()

    print()
Buggy python submission (verdict: Runtime Error):
def solve(n, m, a, b):
    res = []
    for i in range(n):
        s = [a[i][j] * b[j] for j in range(m)]
        res.append(sum(s))
    return res

if __name__ == '__main__':
    n, m = [int(i) for i in input().split()]
    a = [[int(i) for i in input().split()] for _ in range(n)]
    b = [int(i) for i in input().split()] for _ in range(m)]
    for x in solve(n, m, a, b):
        print(x)

Fixed submission:
n, m = [int(i) for i in input().split()]

matrix = []
for ni in range(n):
    matrix.append([int(a) for a in input().split()])

vector = []
for mi in range(m):
    vector.append(int(input()))

for ni in range(n):
    sum = 0
    for mi in range(m):
        sum += matrix[ni][mi] * vector[mi]

    print(sum)

Buggy python submission (verdict: Runtime Error):
def solve(n, m, a, b):
    res = []
    for i in range(n):
        s = [a[i][j] * b[j] for j in range(m)]
        res.append(sum(s))
    return res

if __name__ == '__main__':
    n, m = map(int, raw_input().split())
    a = [map(int, raw_input().split()) for _ in range(n)]
    b = [int(i) for i in input()) for _ in range(m)]
    for x in solve(n, m, a, b):
print(x)

Fixed submission:
n, m = [int(i) for i in input().split()]

matrix = []
for ni in range(n):
    matrix.append([int(a) for a in input().split()])

vector = []
for mi in range(m):
    vector.append(int(input()))

for ni in range(n):
    sum = 0
    for mi in range(m):
        sum += matrix[ni][mi] * vector[mi]

    print(sum)
Buggy python submission (verdict: Runtime Error):
while True:
        (m, f, r) = map(int, raw_input().split())
        if m == f == r == -1:
            break
        elif (m == -1 or f == -1) or (m + f < 30):
            print "F"
        elif m + f >= 80:
            print "A"
        elif 65 <= m + f < 80:
            print "B"
        elif 50 <= m + f < 65:
            print "C"
        elif 30 <= m + f < 50:
            if r >= 50:
                print "C"
            else:
print "D"

Fixed submission:
while True:
    m, f, r = [int(i) for i in input().split()]

    if m == f == r == -1:
        break

    total = m + f
    if m == -1 or f == -1 or total < 30:
        print('F')
        
    elif total < 50 and r < 50:
        print('D')
        
    elif total < 65:
        print('C')
        
    elif total < 80:
        print('B')
        
    else:
        print('A')

Buggy python submission (verdict: Runtime Error):
while True:
        (m, f, r) = map(int(i) for i in input().split())
        if m == f == r == -1:
            break
        elif (m == -1 or f == -1) or (m + f < 30):
            print "F"
        elif m + f >= 80:
            print "A"
        elif 65 <= m + f < 80:
            print "B"
        elif 50 <= m + f < 65:
            print "C"
        elif 30 <= m + f < 50:
            if r >= 50:
                print "C"
            else:
print "D"

Fixed submission:
while True:
    m, f, r = [int(i) for i in input().split()]

    if m == f == r == -1:
        break

    total = m + f
    if m == -1 or f == -1 or total < 30:
        print('F')
        
    elif total < 50 and r < 50:
        print('D')
        
    elif total < 65:
        print('C')
        
    elif total < 80:
        print('B')
        
    else:
        print('A')

Buggy python submission (verdict: Runtime Error):
while True:
    m, f, r = [int(i) for i in input().split()]

    if m == f == r == -1:
        break

    if (m == -1 or f == -1) or (m + f < 30):
        print("F")

    if m + f >= 80:
        print("A")

    if 65 <= m + f < 80:
        print("B")

    if 50 <= m + f < 65:
        print("C")

    if 30 <= m + f < 50:
        elif r >= 50:
            print("C")
        else:
            print("D")
            
    print()

Fixed submission:
while True:
    m, f, r = [int(i) for i in input().split()]

    if m == f == r == -1:
        break

    total = m + f
    if m == -1 or f == -1 or total < 30:
        print('F')
        
    elif total < 50 and r < 50:
        print('D')
        
    elif total < 65:
        print('C')
        
    elif total < 80:
        print('B')
        
    else:
        print('A')
Buggy python submission (verdict: Runtime Error):
r, c = [int(i) for i in input().split]

data = []
sum_row = [0] * (c + 1)

for ri in range(r):
    data.append([int(i) for i in input().split()])
    data[ri].append(sum(data[ri]))
    print(" ".join([str(d) for d in data[ri]]))
    for ci in range(c * 1):
        sum_row[ci] += data[ri][ci]

print(" ".join([str(s) for s in sum_row]))

from pprint import pprint
pprint(data)
pprint(sum_row)

Fixed submission:
r, c = [int(i) for i in input().split()]

data = []
sum_row = [0] * (c + 1)

for ri in range(r):
    data.append([int(i) for i in input().split()])
    data[ri].append(sum(data[ri]))
    print(" ".join([str(d) for d in data[ri]]))
    for ci in range(c + 1):
        sum_row[ci] += data[ri][ci]

print(" ".join([str(s) for s in sum_row]))
Buggy python submission (verdict: Runtime Error):
import string

count = {x: 0 for x in string.ascii_lowercase}

s = input().lower()

for c in s:
    if 'a' <= c <= 'z':
        count[c] += 1
        
for key, num in count:
    print("{0} : {1}".format(key, num))

Fixed submission:
import string

count = {x: 0 for x in string.ascii_lowercase}
lines = ""

while True:
    try:
        lines += input().lower()
    except EOFError:
        break
        
for c in lines:
    if 'a' <= c <= 'z':
        count[c] += 1

for key, in string.ascii_lowercase:
    print("{0} : {1}".format(key, count[key]))

Buggy python submission (verdict: Runtime Error):
import string

count = {x: 0 for x in string.ascii_lowercase}

s = input()

for c in s:
    if 'a' <= c <= 'z':
        count[c] += 1
        
for key, num in count:
    print("{0} : {1}".format(key, num))

Fixed submission:
import string

count = {x: 0 for x in string.ascii_lowercase}
lines = ""

while True:
    try:
        lines += input().lower()
    except EOFError:
        break
        
for c in lines:
    if 'a' <= c <= 'z':
        count[c] += 1

for key, in string.ascii_lowercase:
    print("{0} : {1}".format(key, count[key]))
Buggy python submission (verdict: Runtime Error):
W = input()

while True:
    line = input()
    if line == 'END_OF_TEXT':
        break

    for s in line.split():
        if s == W:
            count += 1

print(count)

Fixed submission:
W = input()

count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT':
        break

    for s in line.lower().split():
        if s == W:
            count += 1

print(count)

Buggy python submission (verdict: Runtime Error):
W = input()

while True:
    line = input()
    if line == 'END_OF_TEXT':
        break

    for s in line.lower().split():
        if s == W:
            count += 1

print(count)

Fixed submission:
W = input()

count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT':
        break

    for s in line.lower().split():
        if s == W:
            count += 1

print(count)
Buggy python submission (verdict: Runtime Error):
while True:
    s = input().split()
    if s == "-":
        break
    card = [x for x in s]
    for i in range(int(input())):
        h = int(input())
        card = card[h:] + card[:h]
    print("".join(card))

Fixed submission:
while True:
    s = input()
    if s == '-':
        break

    m = int(input())
    for mi in range(m):
        h = int(input())
        s = s[h:] + s[:h]

    print(s)
Buggy python submission (verdict: Runtime Error):
s = input()
q = int(input())
for pi in range(q):
    command = input().split()

    a = int(command[1])
    b = int(command[2])
    if command[0] == 'print':
        print(s[a:b + 1])
    elif command[0] == 'reverse':
        s = s[:a] + reversed(s[a:b + 1][::-1]) + s[b + 1:]
    else:
        p = command[3]
        s = s[:a] + x[3] + s[b+1:]

Fixed submission:
s = input()
q = int(input())
for _ in range(q):
    x = input().split()
    a, b = int(x[1]), int(x[2])
    if x[0] == 'print':
        print(s[a:b+1])
    if x[0] == 'reverse':
        s = s[:a] + ''.join(reversed(s[a:b+1])) + s[b+1:]
    if x[0] == 'replace':
        s = s[:a] + x[3] + s[b+1:]

Buggy python submission (verdict: Runtime Error):
s = input()
q = int(input())
for pi in range(q):
    command = input().split()

    a = int(command[1])
    b = int(command[2])
    if command[0] == 'print':
        print(s[a:b + 1])
    elif command[0] == 'reverse':
        s = s[:a] + reversed(s[a:b + 1][::-1]) + s[b + 1:]
    else:
        p = command[3] == 'replace':
        s = s[:a] + x[3] + s[b+1:]

Fixed submission:
s = input()
q = int(input())
for _ in range(q):
    x = input().split()
    a, b = int(x[1]), int(x[2])
    if x[0] == 'print':
        print(s[a:b+1])
    if x[0] == 'reverse':
        s = s[:a] + ''.join(reversed(s[a:b+1])) + s[b+1:]
    if x[0] == 'replace':
        s = s[:a] + x[3] + s[b+1:]

Buggy python submission (verdict: Runtime Error):
s = input()
q = int(input())
for pi in range(q):
    command = input().split()

    a = int(command[1])
    b = int(command[2])
    if command[0] == 'print':
        print(s[a:b + 1])
    elif command[0] == 'reverse':
        s = s[:a] + reversed(s[a:b + 1][::-1]) + s[b + 1:]
    else:
        command[3] == 'replace':
        s = s[:a] + x[3] + s[b+1:]

Fixed submission:
s = input()
q = int(input())
for _ in range(q):
    x = input().split()
    a, b = int(x[1]), int(x[2])
    if x[0] == 'print':
        print(s[a:b+1])
    if x[0] == 'reverse':
        s = s[:a] + ''.join(reversed(s[a:b+1])) + s[b+1:]
    if x[0] == 'replace':
        s = s[:a] + x[3] + s[b+1:]

Buggy python submission (verdict: Runtime Error):
s = input()
q = int(input())
for pi in range(q):
    command = input().split()

    a = int(command[1])
    b = int(command[2])
    if command[0] == 'print':
        print(s[a:b + 1])
    elif command[0] == 'reverse':
        s = s[:a] + reversed(s[a:b + 1][::-1]) + s[b + 1:]
    else:
        command[3] == 'replace':
        s = s[:a] + a[3] + s[b+1:]

Fixed submission:
s = input()
q = int(input())
for _ in range(q):
    x = input().split()
    a, b = int(x[1]), int(x[2])
    if x[0] == 'print':
        print(s[a:b+1])
    if x[0] == 'reverse':
        s = s[:a] + ''.join(reversed(s[a:b+1])) + s[b+1:]
    if x[0] == 'replace':
        s = s[:a] + x[3] + s[b+1:]
Buggy python submission (verdict: Runtime Error):
print(x*3)

Fixed submission:
x = int(input())
print(x ** 3)

Buggy python submission (verdict: Runtime Error):
x ** 3

Fixed submission:
x = int(input())
print(x ** 3)
Buggy python submission (verdict: Runtime Error):
int(input(h:4, m:0, s:0,))

Fixed submission:
S = int(input()) 
print(S // 3600, ":", S % 3600 // 60, ":", S % 60, sep = "")

Buggy python submission (verdict: Runtime Error):
S = int(input())
 print(S // 3600, ":", S % 3600 // 60, ":", S % 60, sep = "")

Fixed submission:
S = int(input()) 
print(S // 3600, ":", S % 3600 // 60, ":", S % 60, sep = "")
Buggy python submission (verdict: Runtime Error):
date = [int(1) for i in input().split()]

date.sort()
    print("{0} {1} {2}".format(date[0],date[1],date[2]))

Fixed submission:
data = [int(i) for i in input().split()]

data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))

Buggy python submission (verdict: Runtime Error):
data = [int(i) for i in input().split()]
??
data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))

Fixed submission:
data = [int(i) for i in input().split()]

data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))

Buggy python submission (verdict: Runtime Error):
data = [int(i) for i in input().split()]
??
data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))

Fixed submission:
data = [int(i) for i in input().split()]

data.sort()
print("{0} {1} {2}".format(data[0],data[1],data[2]))
Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = [int(i) for i in input().split()]

if x + r <= W and y - >= 0 and x - r >= 0 and y + r <= H:
    print("Yes")
else:
    print("No")

Fixed submission:
W, H, x, y, r = [int(i) for i in input().split()]

if x + r <= W and y - r >= 0 and x - r >= 0 and y + r <= H:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = [int(i) for i in input().split()]

if x + r <= W and y - >= 0 and x - r >= 0 and y + r <= H:
    print("Yes")
else:
    print("No")

Fixed submission:
W, H, x, y, r = [int(i) for i in input().split()]

if x + r <= W and y - r >= 0 and x - r >= 0 and y + r <= H:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
a, b, c = [int(i) for i in input()].split()]

count = 0

for i in range(a, b + 1):
    if c % 1 ==0:
        count += 1
print(count)

Fixed submission:
a, b, c = [int(i) for i in input().split()]
 
total = 0
for d in range(a, b + 1):
    if c % d == 0:
        total += 1
 
print(total)

Buggy python submission (verdict: Runtime Error):
(a, b, c) = [int(i) for i in input()].split()]

count = 0

for i in range(a, b + 1):
    if c % 1 ==0:
        count += 1
print(count)

Fixed submission:
a, b, c = [int(i) for i in input().split()]
 
total = 0
for d in range(a, b + 1):
    if c % d == 0:
        total += 1
 
print(total)

Buggy python submission (verdict: Runtime Error):
a, b, c = [int(i) for i in input().split()]

total = 0

for i in range(a, b + 1):
    if c % 1 == 0:
        totale += 1
print(totale)

Fixed submission:
a, b, c = [int(i) for i in input().split()]
 
total = 0
for d in range(a, b + 1):
    if c % d == 0:
        total += 1
 
print(total)
Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input().split()]

d = a // b
r = a % b
f = a / b

print("{0} {1} {2:.5f}".format(d, r, f)

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

d = a // b
r = a % b
f = a / b

print("{0} {1} {2:.5f}".format(d, r, f))