python-algorithm

[백준] 14264

무적김두칠 2021. 3. 5. 13:45

1
2
3
import math
l=int(input())
print(l*l*math.sqrt(3)/4 )
cs

끼인각과 양 변의 길이를 알때 삼각형의 넓이 구하는 식을 통해 구현 했습니다.

반응형