TV size

last update: 2021.08.13.Fri

1297 재귀 함수가 뭔가요?, Bronze 4

Memory 31312KB, Time 84ms


import math

d, h, w = map(int, input().split())
deg = math.sqrt((d*d) / (h*h + w*w))
print(math.floor(h*deg), math.floor(w*deg))