본문 바로가기
python-algorithm

[백준] 1297

by 무적김두칠 2021. 3. 3.

1
2
3
4
import math
a,b,c=map(int, input().split())
r=math.sqrt(b**2+c**2)
print(int(a*b/r),int(a*c/r))
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 6763  (0) 2021.03.03
[백준] 5928  (0) 2021.03.03
[백준] 20492  (0) 2021.03.03
[백준] 20254  (0) 2021.03.03
[백준] 18301  (0) 2021.03.03

댓글