Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
params = input().rstrip().split('')
square = int(params[0]) * int(params[1])
length = (int(params[0]) + int(params[1])) * 2

print(square, length)

Fixed submission:
(tate, yoko) = [int(x) for x in input().rstrip().split(' ')]
square = tate * yoko
length = (tate + yoko) * 2

print(square, length)
Buggy python submission (verdict: Runtime Error):
S = int(input.())

h = (S =/ 60 * 60)
m = (S =/ 60)
s = S

print(h + ':' + m + ':' + s)

Fixed submission:
S = int(input())

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

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

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

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

print(h + ':' + m + ':' + s)

Fixed submission:
S = int(input())

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

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

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

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

print('{0}:{1}:{2}'.format(0, 1, 2))

Fixed submission:
S = int(input())

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

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

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

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

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

Fixed submission:
S = int(input())

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

print('{0}:{1}:{2}'.format(h, m, s))
Buggy python submission (verdict: Runtime Error):
(a, b) = input().rstrip().split('')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Fixed submission:
(a, b) = input().rstrip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Buggy python submission (verdict: Runtime Error):
(a, b) = input().rstrip().split('')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Fixed submission:
(a, b) = input().rstrip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Buggy python submission (verdict: Runtime Error):
(a, b) = input().rstrip().split('')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Fixed submission:
(a, b) = input().rstrip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')
Buggy python submission (verdict: Runtime Error):
(a, b, c) = input().rstrip().split(' ')
a = int(a)
b = int(b)
c = int(c)

if a < b && b < c:
    print('Yes')
else:
    print('No')

Fixed submission:
(a, b, c) = input().rstrip().split(' ')
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print('Yes')
else:
    print('No')
Buggy python submission (verdict: Runtime Error):
import math

r = int(input())

print(r * r * math.pi, r * 2 * math.pi)

Fixed submission:
import math
r = float(input())
p = math.pi

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))

Buggy python submission (verdict: Runtime Error):
r = int(input())
p = from math import pi
print(r * r * p, r * 2 * p)

Fixed submission:
import math
r = float(input())
p = math.pi

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))

Buggy python submission (verdict: Runtime Error):
r = int(input())
p = from math import pi

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))

Fixed submission:
import math
r = float(input())
p = math.pi

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))

Buggy python submission (verdict: Runtime Error):
import math
r = int(input())
p = math.pi

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))

Fixed submission:
import math
r = float(input())
p = math.pi

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))

Buggy python submission (verdict: Runtime Error):

r = int(input())
p = 3.14

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))

Fixed submission:
import math
r = float(input())
p = math.pi

print('{0} {1:.6f}'.format(r * r * p, r * 2 * p))
Buggy python submission (verdict: Runtime Error):
input()

input()
  
data = [int(x) for x in input().split()]
print(min(data), max(data), sum(data))

Fixed submission:
input()
  
data = [int(x) for x in input().split()]
print(min(data), max(data), sum(data))
Buggy python submission (verdict: Runtime Error):
for i in range(3, int(input() + 1):
    if i % 3 == 0 or '3' in str(i):
        print('', i, end='')

Fixed submission:
for i in range(3, int(input()) + 1):
    if i % 3 == 0 or '3' in str(i):
        print('', i, end='')
print()

Buggy python submission (verdict: Runtime Error):
for i in range(3, int(input() + 1):
    if i % 3 == 0 or '3' in str(i):
        print('', i, end='')
print()

Fixed submission:
for i in range(3, int(input()) + 1):
    if i % 3 == 0 or '3' in str(i):
        print('', i, end='')
print()
Buggy python submission (verdict: Runtime Error):

n = int(input())

count = 0
for i in range(n-1):
    for j in range(n):
        for k in range(n+1):
            if i + j + k == x: count+= 1

print(count)

Fixed submission:
while True:
    (n, x) = [int(i) for i in input().split()]
    if n == x == 0: break
    count = 0
    for i in range(1,n - 1):
        for j in range(i + 1 ,n):
            if i + j + j + 1 > x: break
            for k in range(j + 1 ,n + 1):
                if i + j + k == x:
                    count += 1
                    break
    print(count)

Buggy python submission (verdict: Runtime Error):

n = input()

count = 0
x = input()
for i in range(n - 1):
  for j in range(n):
    for k in range(n + 1):
      if i + j + k == x: count += 1
print(count)

Fixed submission:
while True:
    (n, x) = [int(i) for i in input().split()]
    if n == x == 0: break
    count = 0
    for i in range(1,n - 1):
        for j in range(i + 1 ,n):
            if i + j + j + 1 > x: break
            for k in range(j + 1 ,n + 1):
                if i + j + k == x:
                    count += 1
                    break
    print(count)
Buggy python submission (verdict: Runtime Error):
import math

(x1, y1, x2, y2) = [float(i) for i in input().split()]
distance = math.sqrt((x2 - x1) ** 2 + (y2 - u1) ** 2)
print('{0:.5f}'.format(distance))

Fixed submission:
import math

(x1, y1, x2, y2) = [float(i) for i in input().split()]
distance = math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)
print('{0:.5f}'.format(distance))
Buggy python submission (verdict: Runtime Error):
(a,b) = input().rstlip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Fixed submission:
(a, b) = input().rstrip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Buggy python submission (verdict: Runtime Error):
(a, b) = input().rstlip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Fixed submission:
(a, b) = input().rstrip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')

Buggy python submission (verdict: Runtime Error):
(a, b) = input().rstlip().split(' ')
a = int(a)
b = int(b)

if a < b:
     print('a < b')
elif a > b:
     print('a > b')
else:
     print('a == b')

Fixed submission:
(a, b) = input().rstrip().split(' ')
a = int(a)
b = int(b)

if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')
Buggy python submission (verdict: Runtime Error):
(a, b, c) = input().rstrip().split()
a = int(a)
b = int(b)
c = int(c)

if a < b < c;
    print('Yes')
else;
    print('No')

Fixed submission:
(a, b, c) = input().rstrip().split()
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print('Yes')
else:
    print('No')

Buggy python submission (verdict: Runtime Error):
(a, b, c) = input().rstrip().split()
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print('Yes')
else;
    print('No')

Fixed submission:
(a, b, c) = input().rstrip().split()
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print('Yes')
else:
    print('No')
Buggy python submission (verdict: Runtime Error):
(a, b, c) = input().rstrip.split(' ')
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print(a, b, c)
elif a < c < b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= a <= b:
    print(c, a, b)
else:
    print(c, b, a)

Fixed submission:
(a, b, c) = input().rstrip().split(' ')
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print(a, b, c)
elif a < c < b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= a <= b:
    print(c, a, b)
else:
    print(c, b, a)

Buggy python submission (verdict: Runtime Error):
(a, b, c) = input().rstrip.split(' ')
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print(a, b, c)
elif a < c < b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= a <= b:
    print(c, a, b)
else:
    print(c, b, a)

Fixed submission:
(a, b, c) = input().rstrip().split(' ')
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print(a, b, c)
elif a < c < b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= a <= b:
    print(c, a, b)
else:
    print(c, b, a)

Buggy python submission (verdict: Runtime Error):
(a, b, c) = input().rstrip.split(' ')
a = int(a)
b = int(b)
c = int(c)

if a < b < c:
    print('a, b, c')
elif a < c < b:
    print('a, c, b')
elif b <= a <= c:
    print('b, a, c')
elif b <= c <= a:
    print('b, c, a')
elif c <= a <= b:
    print('c, a, b')
else:
    print('c, b, a')

Fixed submission:
(a, b, c) = input().rstrip().split(' ')
a = int(a)
b = int(b)
c = int(c)

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

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

print(count)

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

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

print(count)

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

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

print(count)

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

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

print(count)

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

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

print(count)

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

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

print(count)
Buggy python submission (verdict: Runtime Error):
int main(void) {
    int m,f,r;
    scanf("%d %d %d",&m,&f,&r);
    while(m!=-1 || f!=-1 || r!=-1) {
        if(m==-1 || f==-1)printf("F\n");
        else if(m+f>=80)printf("A\n");
        else if(m+f>=65)printf("B\n");
        else if(m+f>=50)printf("C\n");
        else if(m+f>=30) {
            if(r>=50)printf("C\n");
            else printf("D\n");
        }
        else printf("F\n");
        scanf("%d %d %d",&m,&f,&r);
    }
    return 0;
}

Fixed submission:
import sys
 
for line in sys.stdin:
    m, f, r = map(int, line.split())
    if m == f == r == -1:
        break
    if m == -1 or f == -1:
        print('F')
    elif (m + f) >= 80:
        print('A')
    elif (m + f) >= 65:
        print('B')
    elif (m + f) >= 50:
        print('C')
    elif (m + f) >= 30:
        if r >= 50:
            print('C')
        else:
            print('D')
    else:
        print('F')
Buggy python submission (verdict: Runtime Error):
while True:
    (n, x) = [int(i) for i in input().split()]
    if n == x == 0:
        break
    cnt = 0
    for i in range(1, n+1):
        for j in range(i+1, n+1):
            for k in range(j+1, n+1):
                if (i + j + k) == x:
                    cnt += 1
                elif (i + j + K) > x:
                    break
    print cnt

Fixed submission:
while True:
    (n, x) = [int(i) for i in input().split()]
    if n == x == 0:
        break
    cnt = 0
    for i in range(1, n+1):
        for j in range(i+1, n+1):
            for k in range(j+1, n+1):
                if (i + j + k) == x:
                    cnt += 1
                elif (i + j + k) > x:
                    break
    print(cnt)
Buggy python submission (verdict: Runtime Error):
text = input()

for i in range(len(text)):
    code = ord(text[i])
    if ord('A') <= code <= ord('Z'):
        result += chr(code + 32)
    elif ord('a') <= code <= ord('z'):
        result += chr(code - 32)
    else:
        result += chr(code)

print(result)

Fixed submission:
text = input()

result = ''
for i in range(len(text)):
    code = ord(text[i])
    if ord('A') <= code <= ord('Z'):
        result += chr(code + 32)
    elif ord('a') <= code <= ord('z'):
        result += chr(code - 32)
    else:
        result += chr(code)

print(result)
Buggy python submission (verdict: Runtime Error):
target = input()

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

    for word in line.split():
        if word.lower == target.lower:
            count += 1

print(count)

Fixed submission:
target = input()

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

    for word in line.split():
        if word.lower() == target.lower():
            count += 1

print(count)
Buggy python submission (verdict: Runtime Error):
while Ture:
    text = input()
    if text = '-':
        break

    count = int(input())
    for c in range(count):
        index = int(input())
        text - text[index:] + text[:index]

print(text)

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

    count = int(input())
    for c in range(count):
        index = int(input())
        text = text[index:] + text[:index]

    print(text)

Buggy python submission (verdict: Runtime Error):
while True:
    text = input()
    if text = '-':
        break

    count = int(input())
    for c in range(count):
        index = int(input())
        text - text[index:] + text[:index]

print(text)

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

    count = int(input())
    for c in range(count):
        index = int(input())
        text = text[index:] + text[:index]

    print(text)

Buggy python submission (verdict: Runtime Error):
while True:
    text = input()
    if text = '-':
        break

    count = int(input())
    for c in range(count):
        index = int(input())
        text = text[index:] + text[:index]

print(text)

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

    count = int(input())
    for c in range(count):
        index = int(input())
        text = text[index:] + text[:index]

    print(text)

Buggy python submission (verdict: Runtime Error):
while True:
    text = input()
    if text == '-':
        break

    count = int(input())
    for c in range(count):
        index = int(input())
        text - text[index:] + text[:index]

print(text)

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

    count = int(input())
    for c in range(count):
        index = int(input())
        text = text[index:] + text[:index]

    print(text)
Buggy python submission (verdict: Runtime Error):
import math

input()

vx = [int(i) for i in input().split()]
vy = [int(i) for i in input().split()]

Dxy = []
for p in range(1, 4):
    Dxy.append(sum([abs(xv[i] - vy[i]) ** p for i in range(len(vx))]) ** (1 / p))

Dxy.append(max([abs(vx[i] - vy[i]) for i in range(len(vx))]))

for res in Dxy:
    print('{0:5f}'.format(res))

Fixed submission:
import math

input()

vx = [int(i) for i in input().split()]
vy = [int(i) for i in input().split()]

Dxy = []
for p in range(1, 4):
    Dxy.append(sum([abs(vx[i] - vy[i]) ** p for i in range(len(vx))]) ** (1 / p))

Dxy.append(max([abs(vx[i] - vy[i]) for i in range(len(vx))]))

for res in Dxy:
    print('{0:5f}'.format(res))
Buggy python submission (verdict: Runtime Error):
class Dice:                                                                                                                           
    def __init__(self, data):
        self.data = data


    def move(self, direction):
        if direction == 'E':
            self.data[0],self.data[3],self.data[5],self.data[2] = \ 
                    self.data[3],self.data[5],self.data[2],self.data[0]
        elif direction == 'N':
            self.data[0],self.data[4],self.data[5],self.data[1] = \ 
                    self.data[1],self.data[0],self.data[4],self.data[5]
        elif direction == 'S':
            self.data[0],self.data[1],self.data[5],self.data[4] = \ 
                    self.data[4],self.data[0],self.data[1],self.data[5]
        elif direction == 'W':
             self.data[0],self.data[1],self.data[5],self.data[4] = \ 
                    self.data[2],self.data[5],self.data[3],self.data[0]


    def getTop(self):
        return self.data[0]

dice = Dice(input().split())
cmd = input()
for i in range(len(cmd)):
    dice.move(cmd[i])

print(dice.getTop())                                                                                                                  

Fixed submission:
class Dice:
    def __init__(self, data):
        self.data = data

    def move(self, direction):
        if direction == 'E':
            self.data[0],self.data[3],self.data[5],self.data[2] = \
                    self.data[3],self.data[5],self.data[2],self.data[0]
        elif direction == 'N':
            self.data[0],self.data[4],self.data[5],self.data[1] = \
                    self.data[1],self.data[0],self.data[4],self.data[5]
        elif direction == 'S':
            self.data[0],self.data[1],self.data[5],self.data[4] = \
                    self.data[4],self.data[0],self.data[1],self.data[5]
        elif direction == 'W':
             self.data[0],self.data[2],self.data[5],self.data[3] = \
                    self.data[2],self.data[5],self.data[3],self.data[0]


    def getTop(self):
        return self.data[0]

dice = Dice(input().split())
cmd = input()
for i in range(len(cmd)):
    dice.move(cmd[i])

print(dice.getTop())
Buggy python submission (verdict: Runtime Error):
from Dice import Dice

dice = Dice(input().split())
count = int(input())
result = []

for i in range(count):
    (top, front) = [i for i in input().split()]
    dice.moveTopTo(top)
    dice.moveFrontTo(front)
    result.append(dice.getRight())

for s in result:
    print(s)

Fixed submission:
class Dice:
    def __init__(self, data):
        self.data = data

    def move(self, direction):
        if direction == 'E':
            self.data[0],self.data[3],self.data[5],self.data[2] = \
                    self.data[3],self.data[5],self.data[2],self.data[0]
        elif direction == 'N':
            self.data[0],self.data[4],self.data[5],self.data[1] = \
                    self.data[1],self.data[0],self.data[4],self.data[5]
        elif direction == 'S':
            self.data[0],self.data[1],self.data[5],self.data[4] = \
                    self.data[4],self.data[0],self.data[1],self.data[5]
        elif direction == 'W':
             self.data[0],self.data[2],self.data[5],self.data[3] = \
                    self.data[2],self.data[5],self.data[3],self.data[0]
        elif direction == 'LEFT':
            self.data[2],self.data[4],self.data[3],self.data[1] = \
                    self.data[1], self.data[2],self.data[4],self.data[3]


    def getTop(self):
        return self.data[0]

    def getRight(self):
        return self.data[2]

    def moveTopTo(self, target):
        for i in range(4):
            if self.data[0] == target:
                break
            self.move('W')

            if self.data[1] == target:
                self.move('S')
            elif self.data[4] == target:
                self.move('N')

    def moveFrontTo(self, target):
        for i in range(4):
            if self.data[1] == target:
                break
            self.move('LEFT')

dice = Dice(input().split())
count = int(input())
result = []

for i in range(count):
    (top, front) = [i for i in input().split()]
    dice.moveTopTo(top)
    dice.moveFrontTo(front)
    result.append(dice.getRight())

[print(i) for i in result]
Buggy python submission (verdict: Runtime Error):
S = int(input())
print('{0}:{1}:{2}'format(S//3600, S // 60, S % 60))

Fixed submission:
S = int(input())
print('{0}:{1}:{2}'.format(S//3600,  (S % 3600) // 60,  (S % 3600)  % 60))
Buggy python submission (verdict: Runtime Error):
(a,b) = input().rstrip().split(' ')
#a = int(a)
#b = int(b)

#以下でも代替可
(a,b) = [int(x) for x in input().rstrip().split(' ')]

if a < b:
 print("a < b")
elif a > b:
 print("a > b")
else:
 print("a == b")

Fixed submission:
#(a,b) = input().rstrip().split(' ')
#a = int(a)
#b = int(b)

#以下でも代替可
(a,b) = [int(x) for x in input().rstrip().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,c) = input().rstrip().split()
a = int(a)
b = int(b)
c = int(c)

if a < b < c
 print("Yes")
else:
 print("No")

Fixed submission:
(a,b,c) = input().rstrip().split()
a = int(a)
b = int(b)
c = int(c)

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

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

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

if x + r <= W and x - r >= 0 and y + r <= H and y - r >= 0:
 print('Yes')
else:
 print('No')
Buggy python submission (verdict: Time Limit Exceeded):
(x,y) = [int(i) for i in input().rstrip().split(' ')]

while True:
 if x == 0 and y == 0:
  break
 print('{0} {1}'.format(x,y))

Fixed submission:
while True:
 (x,y) = [int(i) for i in input().rstrip().split(' ')]
 if x == y  == 0:
  break
 if(x < y):
  print('{0} {1}'.format(x,y))
 else:
  print('{0} {1}'.format(y,x))
Buggy python submission (verdict: Runtime Error):
(a, b, c) = [int(i) for i in input().rstrip().split()]

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

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

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

print(count)

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

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

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

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

print(count)
Buggy python submission (verdict: Runtime Error):
import math

r = float(input())
x = 2 * Math.pi * r
y = r / 2 * r / 2 * Math.pi

print('{0:.6f} {1:.6f}'.format(x,y)) 

Fixed submission:
import math
r = float(input())
e = 2 * math.pi * r
m = r * r * math.pi

print("{0:.6f} {1:.6f}".format(m, e))

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

r = float(input())
x = 2 * math.pi * r
y = r / 2 * r / 2 * Math.pi

print('{0:.6f} {1:.6f}'.format(x,y)) 

Fixed submission:
import math
r = float(input())
e = 2 * math.pi * r
m = r * r * math.pi

print("{0:.6f} {1:.6f}".format(m, e))