Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
# AOJ TP2_2_A: Stack
# Python3 2018.6.24 bal4u

from collections import deque
n, q = map(int, input().split())
Q = []
for i in range(n): Q.append(deque())
for i in range(q):
	a = input().split()
	t = int(a[1])
	if   a[0] == '0': Q[t].append(a[2])   # push
	elif a[0] == '1': print(Q[t][-1])     # top
	else: Q[t].pop()                      # pop



Fixed submission:
# AOJ TP2_2_A: Stack
# Python3 2018.6.24 bal4u

from collections import deque
n, q = map(int, input().split())
Q = []
for i in range(n): Q.append(deque())
for i in range(q):
	a = input().split()
	t = int(a[1])
	if   a[0] == '0': Q[t].append(a[2])        # push
	elif a[0] == '1' and Q[t]: print(Q[t][-1]) # top
	elif a[0] == '2' and Q[t]: Q[t].pop()      # pop
Buggy python submission (verdict: Runtime Error):
while 1 == 1:
    a, b = map(int, input().split())
    d = a * b
    if a < b:
        tmp = a
        a = b
        b = tmp

    c = a % b
    while(c != 0):
        a = b
        b = c
        c = a % b

    g = b
    l = d / g

    print(str(g)+" "+str(int(l)))

Fixed submission:
import fileinput

for line in fileinput.input():
    tokens = list(map(int, line.strip().split()))
    a, b = tokens[0], tokens[1]
    d = a * b
    if a < b:
        tmp = a
        a = b
        b = tmp

    c = a % b
    while(c != 0):
        a = b
        b = c
        c = a % b

    g = b
    l = d / g

    print(str(g)+" "+str(int(l)))

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

for line in sys.stdin:
    a, b = map(int, input().split())
    d = a * b
    if a < b:
        tmp = a
        a = b
        b = tmp

    c = a % b
    while(c != 0):
        a = b
        b = c
        c = a % b

    g = b
    l = d / g

    print(str(g)+" "+str(int(l)))

Fixed submission:
import fileinput

for line in fileinput.input():
    tokens = list(map(int, line.strip().split()))
    a, b = tokens[0], tokens[1]
    d = a * b
    if a < b:
        tmp = a
        a = b
        b = tmp

    c = a % b
    while(c != 0):
        a = b
        b = c
        c = a % b

    g = b
    l = d / g

    print(str(g)+" "+str(int(l)))
Buggy python submission (verdict: Runtime Error):
while True:
    a = int(input())
    b = int(input())
    print(len(str(a + b)))
          



Fixed submission:
while True:
    try:
        a, b = map(int, input().split(" "))
        print(len(str(a + b)))
    except:
        break

Buggy python submission (verdict: Runtime Error):
while True:
    try:
        a = int(input())
        b = int(input())
        print(len(str(a + b)))
    except EOFError:
        break



Fixed submission:
while True:
    try:
        a, b = map(int, input().split(" "))
        print(len(str(a + b)))
    except:
        break

Buggy python submission (verdict: Runtime Error):
while True:
    a = int(input())
    b = int(input())
    print(len(str(a + b)))


Fixed submission:
while True:
    try:
        a, b = map(int, input().split(" "))
        print(len(str(a + b)))
    except:
        break

Buggy python submission (verdict: Runtime Error):
while True:
    try:
        a = int(input())
        b = int(input())
        print(len(str(a + b)))
    except EOFError:
        break


Fixed submission:
while True:
    try:
        a, b = map(int, input().split(" "))
        print(len(str(a + b)))
    except:
        break

Buggy python submission (verdict: Runtime Error):
while True:
    try:
        a = int(input())
        b = int(input())
        print(len(str(a + b)))
    except EOFError:
        break


Fixed submission:
while True:
    try:
        a, b = map(int, input().split(" "))
        print(len(str(a + b)))
    except:
        break
Buggy python submission (verdict: Runtime Error):
for i in range(int(input())):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split(" "))
    if (y1 - y2) / (x1 - x2) == (y4 - y3)/ (x4 - x3): print("YES")
    else: print("NO")



Fixed submission:
n = int(input())
for i in range(n):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split())
    if abs((x2 - x1) * (y4 - y3) - (y2 - y1) * (x4 - x3)) < 1e-10: print("YES")
    else: print("NO")

Buggy python submission (verdict: Runtime Error):
n = int(input())
for i in range(n):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split(" "))
    if (y1 - y2) / (x1 - x2) == (y4 - y3)/ (x4 - x3): print("YES")
    else: print("NO")



Fixed submission:
n = int(input())
for i in range(n):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split())
    if abs((x2 - x1) * (y4 - y3) - (y2 - y1) * (x4 - x3)) < 1e-10: print("YES")
    else: print("NO")

Buggy python submission (verdict: Runtime Error):
n = int(input())
for i in range(n):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split(" "))
    if abs((y1 - y2) / (x1 - x2) - (y4 - y3)/ (x4 - x3)) < 1e-10: print("YES")
    else: print("NO")


Fixed submission:
n = int(input())
for i in range(n):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split())
    if abs((x2 - x1) * (y4 - y3) - (y2 - y1) * (x4 - x3)) < 1e-10: print("YES")
    else: print("NO")

Buggy python submission (verdict: Runtime Error):
n = int(input())
for i in range(n):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split())
    if abs((y1 - y2) / (x1 - x2) - (y4 - y3)/ (x4 - x3)) < 1e-10: print("YES")
    else: print("NO")


Fixed submission:
n = int(input())
for i in range(n):
    x1, y1, x2, y2, x3, y3, x4, y4 = map(float, input().split())
    if abs((x2 - x1) * (y4 - y3) - (y2 - y1) * (x4 - x3)) < 1e-10: print("YES")
    else: print("NO")
Buggy python submission (verdict: Runtime Error):
ans_list = []
n = int(input())

def mcxl2digit(s):
    ans = 0
    dig = 1
    for i in range(len(s)):
        if "2" <= s[i] <= "9":
            dig = int(s[i])
        else:
            if s[i] == "m":
                key = 100
            elif s[i] == "c":
                key = 100
            elif s[i] == "x":
                key = 10
            else:
                key = 1
            ans += key * dig
            dig = 1
    return ans

def digit2mcxl(i):
    return_list = []
    m = i // 1000
    if m != 0 and m != 1:
        return_list.append(str(m))
    if m != 0:
        return_list.append("m")
    i = i % 1000

    c = i // 100
    if c != 0 and c != 1:
        return_list.append(str(c))
    if c != 0:
        return_list.append("c")
    i = i % 100

    x = i // 10
    if x != 0 and x != 1:
        return_list.append(str(x))
    if x != 0:
        return_list.append("x")
    i = i % 10

    l = i
    if l != 0 and l != 1:
        return_list.append(str(l))
    if l != 0:
        return_list.append("l")

    return return_list

for i in range(n):
    a, b = input().split()
    ans = (mcxl2digit(a) + mcxl2digit(b))
    ans = digit2mcxl(ans)
    ans_list.append(ans)
for i in ans_list:
    print("".join(i))


Fixed submission:
ans_list = []
n = int(input())

def mcxl2digit(s):
    ans = 0
    dig = 1
    for i in range(len(s)):
        if "2" <= s[i] <= "9":
            dig = int(s[i])
        else:
            if s[i] == "m":
                key = 1000
            elif s[i] == "c":
                key = 100
            elif s[i] == "x":
                key = 10
            else:
                key = 1
            ans += key * dig
            dig = 1
    return ans

def digit2mcxl(i):
    return_list = []
    m = i // 1000
    if m != 0 and m != 1:
        return_list.append(str(m))
    if m != 0:
        return_list.append("m")
    i = i % 1000

    c = i // 100
    if c != 0 and c != 1:
        return_list.append(str(c))
    if c != 0:
        return_list.append("c")
    i = i % 100

    x = i // 10
    if x != 0 and x != 1:
        return_list.append(str(x))
    if x != 0:
        return_list.append("x")
    i = i % 10

    l = i
    if l != 0 and l != 1:
        return_list.append(str(l))
    if l != 0:
        return_list.append("i")

    return return_list

for i in range(n):
    a, b = input().split()
    ans = (mcxl2digit(a) + mcxl2digit(b))
    #print(a, b, mcxl2digit(a), mcxl2digit(b))
    #print(ans)
    ans = digit2mcxl(ans)
    ans_list.append(ans)
for i in ans_list:
    print("".join(i))
Buggy python submission (verdict: Runtime Error):
ans_list = []
while True:
    s = input()
    if s == ".":
        break
    q_list = ["" for i in range(len(s))]
    now = -1
    ans = "yes"
    for i in list(s):
        if i == "(" or i == "[":
            now += 1
            q_list[now] = i
        elif i == ")" or i == "]":
            if (i == ")" and q_list[now] == "(") or (i == "]" and q_list[now] == "["):
                now -= 1
            elif now < 0 or i != q_list[now]:
                #print(i, now, q_list)
                ans = "no"
                break
        if ans == "no":
            break
    ans_list.append(ans)

for i in ans_list:
    print(i)


Fixed submission:
ans_list = []
while True:
    s = input()
    if s == ".":
        break
    q_list = ["" for i in range(len(s))]
    now = -1
    ans = "yes"
    for i in list(s):
        if i == "(" or i == "[":
            now += 1
            q_list[now] = i
        elif i == ")":
            if now == -1:
                ans = "no"
            elif q_list[now] == "(":
                now -= 1
            else:
                ans = "no"
        elif i == "]":
            if now == -1:
                ans = "no"
            elif q_list[now] == "[":
                now -= 1
            else:
                ans = "no"
        if ans == "no":
            break
    if now >= 0:
        ans = "no"
    ans_list.append(ans)

for i in ans_list:
    print(i)
Buggy python submission (verdict: Runtime Error):
def pluss_zero(a, L):
    a = str(a)
    while len(a) < L:
        a = "0" + a
    return a

def make_maxminnum(a):
    a = list(a)
    a.sort()
    maxa = int("".join(a[::-1]))
    mina = int("".join(a))
    return maxa - mina

ans_list = []

while True:
    a, L = map(int, input().split())
    if a == 0 and L == 0:
        break
    a_list = [a]
    for i in range(20):
        a = make_maxminnum(pluss_zero(a, L))
        a_list.append(a)

    ans = 0
    for i in range(20):
        for j in range(20):
            if i < j and a_list[i] == a_list[j]:
                ans = [str(i), str(a_list[i]), str(j - i)]
                break
        if ans:
            break
    ans_list.append(ans)

for i in ans_list:
    print(" ".join(i))


Fixed submission:
def pluss_zero(a, L):
    a = str(a)
    while len(a) < L:
        a = "0" + a
    return a

def make_maxminnum(a):
    a = list(a)
    a.sort()
    maxa = int("".join(a[::-1]))
    mina = int("".join(a))
    return maxa - mina

ans_list = []

while True:
    a, L = map(int, input().split())
    if a == 0 and L == 0:
        break
    a_list = [a]
    for i in range(21):
        a = make_maxminnum(pluss_zero(a, L))
        a_list.append(a)

    ans = 0
    for i in range(21):
        for j in range(21):
            if i < j and a_list[i] == a_list[j]:
                ans = [str(i), str(a_list[i]), str(j - i)]
                break
        if ans:
            break
    ans_list.append(ans)

#print(ans_list)
for i in ans_list:
    #print(i)
    print(" ".join(i))
Buggy python submission (verdict: Time Limit Exceeded):
def mergeSort(A, left, right, n):
    if left + 1 < right:
        mid = int((right + left ) / 2 )
        mergeSort(A, left, mid, n)
        mergeSort(A, mid, right, n)
        return (merge(A, left, mid, right, n))

def merge(A, left, mid, right, n):
    n1 = mid - left
    n2 = right - mid
    L = []
    R = []
    for i in range(n1):
        L.append(A[left + i])
    for i in range(n2):
        R.append(A[mid + i])
    L.append(1000000001)
    R.append(1000000001)
    i = j = 0
    for k in range(left, right):
        A[n] += 1
        if L[i] <= R[j]:
            key = L[i]
            A[k] = key
            i += 1
        else:
            key = R[j]
            A[k] = key
            j += 1
    return A

n = int(input())
A = list(map(int, input().split()))
A.append(0)
S = mergeSort(A, 0, len(A) - 1, n)
for i in range(n - 1):
    print(S[i], end = ' ')
print(S[n - 1])
print(S[n])



Fixed submission:
def mergeSort(A, left, right, n):
    if left + 1 < right:
        mid = int((right + left ) / 2 )
        mergeSort(A, left, mid, n)
        mergeSort(A, mid, right, n)
        return (merge(A, left, mid, right, n))

def merge(A, left, mid, right, n):
    n1 = mid - left
    n2 = right - mid
    L = A[left:mid]  + [10 ** 9 + 1]
    R = A[mid:right] + [10 ** 9 + 1]
    L.append(1000000001)
    R.append(1000000001)
    i = j = 0
    for k in range(left, right):
        A[n] += 1
        if L[i] <= R[j]:
            key = L[i]
            A[k] = key
            i += 1
        else:
            key = R[j]
            A[k] = key
            j += 1
    return A

n = int(input())
A = list(map(int, input().split()))
A.append(0)
S = mergeSort(A, 0, len(A) - 1, n)
print(' '.join(list(map(str, S[:n]))))
print(S[n])
Buggy python submission (verdict: Runtime Error):
import math
x1, y1, x2, y2 = map(int, input().split())
X = x1 - x2
Y = y1 - y2
print('{:.5f}'.format(math.sqrt(X * X + Y * Y)))



Fixed submission:
import math
x1, y1, x2, y2 = map(float, input().split())
X = x1 - x2
Y = y1 - y2
print('{:.5f}'.format(math.sqrt(X * X + Y * Y)))

Buggy python submission (verdict: Runtime Error):
import math
x1, y1, x2, y2 = map(int, input().split())
X = x1 - x2
Y = y1 - y2
print('{:.5f}'.format(math.sqrt(X * X + Y * Y)))



Fixed submission:
import math
x1, y1, x2, y2 = map(float, input().split())
X = x1 - x2
Y = y1 - y2
print('{:.5f}'.format(math.sqrt(X * X + Y * Y)))
Buggy python submission (verdict: Runtime Error):
ef north(list):
    List = []
    List.append(list[1])
    List.append(list[5])
    List.append(list[2])
    List.append(list[3])
    List.append(list[0])
    List.append(list[4])
    return List

def west(list):
    List = []
    List.append(list[2])
    List.append(list[1])
    List.append(list[5])
    List.append(list[0])
    List.append(list[4])
    List.append(list[3])
    return List
    
def south(list):
    List = []
    List.append(list[4])
    List.append(list[0])
    List.append(list[2])
    List.append(list[3])
    List.append(list[5])
    List.append(list[1])
    return List

def east(list):
    List = []
    List.append(list[3])
    List.append(list[1])
    List.append(list[0])
    List.append(list[5])
    List.append(list[4])
    List.append(list[2])
    return List

dice = list(map(int, input().split()))
x = str(input())
y = list(x)
for i in range(len(x)):
    if y[i] == 'N':
        dice[0:5] = north(dice)
    elif y[i] == 'W':
        dice[0:5] = west(dice)
    elif y[i] == 'S':
        dice[0:5] = south(dice)
    elif y[i] == 'E':
        dice[0:5] = east(dice)
print(dice[0])



Fixed submission:
def north(list):
    List = []
    List.append(list[1])
    List.append(list[5])
    List.append(list[2])
    List.append(list[3])
    List.append(list[0])
    List.append(list[4])
    return List

def west(list):
    List = []
    List.append(list[2])
    List.append(list[1])
    List.append(list[5])
    List.append(list[0])
    List.append(list[4])
    List.append(list[3])
    return List
    
def south(list):
    List = []
    List.append(list[4])
    List.append(list[0])
    List.append(list[2])
    List.append(list[3])
    List.append(list[5])
    List.append(list[1])
    return List

def east(list):
    List = []
    List.append(list[3])
    List.append(list[1])
    List.append(list[0])
    List.append(list[5])
    List.append(list[4])
    List.append(list[2])
    return List

dice = list(map(int, input().split()))
x = str(input())
y = list(x)
for i in range(len(x)):
    if y[i] == 'N':
        dice[0:5] = north(dice)
    elif y[i] == 'W':
        dice[0:5] = west(dice)
    elif y[i] == 'S':
        dice[0:5] = south(dice)
    elif y[i] == 'E':
        dice[0:5] = east(dice)
print(dice[0])
Buggy python submission (verdict: Runtime Error):
a = input()
print(a*a*a)


Fixed submission:
a = int(input())
print(a*a*a)
Buggy python submission (verdict: Runtime Error):
5 14 80


Fixed submission:
a, b, c = map(int, input().split())
count = 0
for x in range(b - a + 1):
    if c % a == 0:
        count += 1
    a += 1
print(count)
Buggy python submission (verdict: Runtime Error):
r = int(input())
x = 3.14159265358979323846
print(r * r * x, 2 * r * x)



Fixed submission:
r = float(input())
x = 3.141592653589793238462643383279
print('{:.7f}'.format(r * r * x), '{:.7f}'.format(2 * r * x))

Buggy python submission (verdict: Runtime Error):
r = int(input())
x = 3.141592653589793238462643383279
print('{:.7f}'.format(r * r * x), '{:.7f}'.format(2 * r * x))



Fixed submission:
r = float(input())
x = 3.141592653589793238462643383279
print('{:.7f}'.format(r * r * x), '{:.7f}'.format(2 * r * x))
Buggy python submission (verdict: Runtime Error):
n, m = map(int, input().split())
List1 = [[0 for i in range(m)] for i in range(n)]
for x in range(n):
    List1[x] = list(map(int, input().split()))
List2 = [int(input()) for i in range(n + 1)]
sum = [0 for i in range(n)]
for x in range(n):
    for y in range(m):
        sum[x] += List1[x][y] * List2[y]
for x in range(n):
    print(sum[x])



Fixed submission:
n, m = map(int, input().split())
List1 = [[0 for i in range(m)] for i in range(n)]
for x in range(n):
    List1[x] = list(map(int, input().split()))
List2 = [int(input()) for i in range(m)]
sum = [0 for i in range(n)]
for x in range(n):
    for y in range(m):
        sum[x] += List1[x][y] * List2[y]
for x in range(n):
    print(sum[x])

Buggy python submission (verdict: Runtime Error):
n, m = map(int, input().split())
List1 = [[0 for i in range(m)] for i in range(n)]
for x in range(n):
    List1[x] = list(map(int, input().split()))
List2 = [int(input()) for _ in range(n)]
sum = [0 for i in range(n)]
for x in range(n):
    for y in range(m):
        sum[x] += List1[x][y] * List2[y]
for x in range(n):
    print(sum[x])


Fixed submission:
n, m = map(int, input().split())
List1 = [[0 for i in range(m)] for i in range(n)]
for x in range(n):
    List1[x] = list(map(int, input().split()))
List2 = [int(input()) for i in range(m)]
sum = [0 for i in range(n)]
for x in range(n):
    for y in range(m):
        sum[x] += List1[x][y] * List2[y]
for x in range(n):
    print(sum[x])
Buggy python submission (verdict: Runtime Error):
x = imput()
print x **= 3


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

Buggy python submission (verdict: Runtime Error):
# coding: UTF-8
x = imput()
print x **= 3


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

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



Fixed submission:
x = input()
print (x ** 3)
Buggy python submission (verdict: Runtime Error):
while(1):
    a,b=input().strip().split()
    if a<0 or b<0:
        break
    a=int(a)
    b=int(b)
    sum = a+b
    sum = str(sum)
    print(len(sum))

Fixed submission:
import sys

for line in sys.stdin:
    sum = 0
    for x in line.split():
        sum += int(x)
    print(len(str(sum)))
Buggy python submission (verdict: Runtime Error):
safgdsgjhk


Fixed submission:
for i in range(1, 10):
    for j in range(1, 10):
        print(f'{i}x{j}={i * j}')
Buggy python submission (verdict: Runtime Error):
import datetime


def while_in_time(two_times):
    times = two_times.split()  # ???????????????

    in_time_str = ' '.join(times[:3])  # ??\????????????????????????
    out_time_str = ' '.join(times[3:])  # ???????????????????????????

    in_time = datetime.datetime.strptime(in_time_str, '%H %M %S')   #??\??????????????????
    out_time = datetime.datetime.strptime(out_time_str, '%H %M %S')

    while_time = out_time - in_time  # ?????????????????????????¨??????????
    str_while_time = while_time.datetime.strftime(while_time, '%H %M %S')

    return str_while_time


A_time = input()
B_time = input()
C_time = input()

print(while_in_time(A_time))
print(while_in_time(B_time))
print(while_in_time(C_time))

Fixed submission:
from datetime import datetime as dt


def while_in_time(two_times):
    times = two_times.split()  # ???????????????

    in_time_str = ' '.join(times[:3])  # ??\????????????????????????
    out_time_str = ' '.join(times[3:])  # ???????????????????????????

    in_time = dt.strptime(in_time_str, '%H %M %S')   #??\??????????????????
    out_time = dt.strptime(out_time_str, '%H %M %S')

    while_time = out_time - in_time  # ?????????????????????????¨??????????

    seconds = while_time.seconds
    hour = seconds // 3600
    minute = seconds % 3600 // 60
    sec = seconds % 60
    str_while_time = '{} {} {}'.format(hour, minute, sec)

    return str_while_time


A_time = input()
B_time = input()
C_time = input()
print(while_in_time(A_time))
print(while_in_time(B_time))
print(while_in_time(C_time))
Buggy python submission (verdict: Runtime Error):
points = []
for _ in range(6):
    points.append(int(input())
print(sum(sorted(points, reverse=True)[:3]))


Fixed submission:
points_1 = []
points_2 = []
for _ in range(4):
    points_1.append(int(input()))

for _ in range(2):
    points_2.append(int(input()))

print(sum(sorted(points_1)[1:]) + max(points_2))

Buggy python submission (verdict: Runtime Error):
points = []
for i in range(6):
    points.append(int(input())
print(sum(sorted(points, reverse=True)[:3]))


Fixed submission:
points_1 = []
points_2 = []
for _ in range(4):
    points_1.append(int(input()))

for _ in range(2):
    points_2.append(int(input()))

print(sum(sorted(points_1)[1:]) + max(points_2))
Buggy python submission (verdict: Runtime Error):
sec_time = int(input())

hour = sec_time // 3600
minutes = sec_time % 3600 // 60
seconds = sec_time % 3600 % 60

time = ':'.join(hour, minutes, seconds)

print(time)

Fixed submission:
sec_time = int(input())

hour = sec_time // 3600
minutes = sec_time % 3600 // 60
seconds = sec_time % 3600 % 60

print("{}:{}:{}".format(hour, minutes, seconds))

Buggy python submission (verdict: Runtime Error):
sec_time = int(input())

hour = sec_time // 3600
minutes = sec_time % 3600 // 60
seconds = sec_time % 3600 % 60

time = ':'.join(hour, minutes, seconds)

print(time)

Fixed submission:
sec_time = int(input())

hour = sec_time // 3600
minutes = sec_time % 3600 // 60
seconds = sec_time % 3600 % 60

print("{}:{}:{}".format(hour, minutes, seconds))
Buggy python submission (verdict: Runtime Error):
while True:
  data = raw_input()

  if not data:
    break

  a,b,c,d,e,f = map(int, data.split())

  x = ( e*c - b*f ) / ( b*d - a*c )

  y = ( c - a*x ) / b

  print "%.3f %.3f" % ( round(x,3), round(y,3) )

Fixed submission:

while True:
  try:
    data = raw_input()
  except EOFError:
    break

  a,b,c,d,e,f = map(float, data.split())

  x = ( b*f - e*c ) / ( b*d - a*e )

  y = ( c*d - a*f ) / ( b*d - a*e )

  if x == -0.0:
    x = 0

  if y == -0.0:
    y = 0

  print "%.3f %.3f" % ( round(x,3), round(y,3) )
Buggy python submission (verdict: Runtime Error):
for i=1 in range(9):
    for j=1 in range(9):
        print(str(i) + 'x' + str(j) + '=' + str(i*j))

Fixed submission:
for i in range(1, 10):
    for j in range(1,10):
        print(str(i) + 'x' + str(j) + '=' + str(i*j))

Buggy python submission (verdict: Runtime Error):
for i=1 in range(10):
    for j=1 in range(10):
        if(i > 0 and j > 0):
            print(str(i) + 'x' + str(j) + '=' + str(i*j))

Fixed submission:
for i in range(1, 10):
    for j in range(1,10):
        print(str(i) + 'x' + str(j) + '=' + str(i*j))
Buggy python submission (verdict: Runtime Error):
x = input
print(x ** 3)

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

Buggy python submission (verdict: Runtime Error):
input_x = input
print(x ** 3)

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

Buggy python submission (verdict: Runtime Error):
input_x = input()
print(x ** 3)

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