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

a, b, x = [int(v) for v in input().split(' ')]

l1 = x / (a * a)
l2 = b - l1

tan2 = (a / 2) / l2
rad2 = math.atan(tan2)

if l1 >= l2:
    tan = l2 / (a / 2)
    print(90 - math.degrees(math.atan(tan)))
else:
    tan1 = (a / 2) / l1
    rad1 = math.atan(tan1)
    if rad1 <= rad2:
        tan = l2 / (a / 2)
        print(90 - math.degrees(math.atan(tan)))
    else:
        tan3 = (2 * x) / (a * b * b)
        print(90-math.degrees(math.atan(tan3)))


Fixed submission:
import math

a, b, x = [int(v) for v in input().split(' ')]


if a * a * b / 2.0 <= x:
    l = b - (x / (a * a))
    tan = l / (a / 2)
    print(math.degrees(math.atan(tan)))
else:
    tan = (2 * x) / (a * b * b)
    print(90-math.degrees(math.atan(tan)))

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

a, b, x = [int(v) for v in input().split(' ')]

l1 = x / (a * a)
l2 = b - l1

tan2 = (a / 2) / l2
rad2 = math.atan(tan2)

if l1 >= l2:
    tan = l2 / (a / 2)
    print(90 - math.degrees(math.atan(tan)))
else:
    tan1 = (a / 2) / l1
    rad1 = math.atan(tan1)
    if rad1 <= rad2:
        print(90 - math.degrees(rad2))
    else:
        tan3 = (2 * x) / (a * b * b)
        print(90-math.degrees(math.atan(tan3)))

Fixed submission:
import math

a, b, x = [int(v) for v in input().split(' ')]


if a * a * b / 2.0 <= x:
    l = b - (x / (a * a))
    tan = l / (a / 2)
    print(math.degrees(math.atan(tan)))
else:
    tan = (2 * x) / (a * b * b)
    print(90-math.degrees(math.atan(tan)))

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

a, b, x = [int(v) for v in input().split(' ')]

l1 = x / (a * a)
l2 = b - l1

if a * a * b / 2.0 <= x:
    tan2 = (a / 2) / l2
    rad2 = math.atan(tan2)
    print(90 - math.degrees(rad2))
else:

    tan3 = (2 * x) / (a * b * b)
    print(90-math.degrees(math.atan(tan3)))


Fixed submission:
import math

a, b, x = [int(v) for v in input().split(' ')]


if a * a * b / 2.0 <= x:
    l = b - (x / (a * a))
    tan = l / (a / 2)
    print(math.degrees(math.atan(tan)))
else:
    tan = (2 * x) / (a * b * b)
    print(90-math.degrees(math.atan(tan)))

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

a, b, x = [int(v) for v in input().split(' ')]

l1 = x / (a * a)
l2 = b - l1

tan2 = (a / 2) / l2
rad2 = math.atan(tan2)

if l1 >= l2:
    print(90 - math.degrees(rad2))
else:
    tan1 = (a / 2) / l1
    rad1 = math.atan(tan1)
    if rad1 <= rad2:
        print(90 - math.degrees(rad2))
    else:
        tan3 = (2 * x) / (a * b * b)
        print(90-math.degrees(math.atan(tan3)))

Fixed submission:
import math

a, b, x = [int(v) for v in input().split(' ')]


if a * a * b / 2.0 <= x:
    l = b - (x / (a * a))
    tan = l / (a / 2)
    print(math.degrees(math.atan(tan)))
else:
    tan = (2 * x) / (a * b * b)
    print(90-math.degrees(math.atan(tan)))

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


import math

l1 = x / (a * a)
l2 = b - l1

#print(l, c)

tan2 = (a / 2) / l2
rad2 = math.atan(tan2)

if l1 > l2:
    print(90 - math.degrees(rad2))
else:
    tan1 = (a / 2) / l1
    rad1 = math.atan(tan1)

    if rad1 > rad2:
        tan3 = (2 * x) / (a * b * b)
        print(90-math.degrees(math.atan(tan3)))
    else:
        print(90 - math.degrees(rad2))


Fixed submission:
import math

a, b, x = [int(v) for v in input().split(' ')]


if a * a * b / 2.0 <= x:
    l = b - (x / (a * a))
    tan = l / (a / 2)
    print(math.degrees(math.atan(tan)))
else:
    tan = (2 * x) / (a * b * b)
    print(90-math.degrees(math.atan(tan)))