본문 바로가기

알고리즘 문제 풀기/Codeup

Codeup 1118 - 삼각형의 넓이 구하기

http://codeup.kr/JudgeOnline/problem.php?id=1118


Codeup 1118 - 삼각형의 넓이 구하기


1
2
3
4
5
6
7
8
9
 
bottom, height = input().split()
bottom = float(bottom)
height = float(height)
 
width = bottom * height / 2
 
print('%.1f' % width)
 
cs