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 |
'알고리즘 문제 풀기 > Codeup' 카테고리의 다른 글
Codeup 1120 - 세 수의 평균 (0) | 2018.12.02 |
---|---|
Codeup 1119 - 일을 시간으로 변환 (0) | 2018.12.01 |
Codeup 1117 - 두 실수의 곱 (0) | 2018.11.29 |
Codeup 1116 - 사칙연산 계산기 (0) | 2018.11.28 |
Codeup 1115 - 두 정수의 덧셈 (64bit) (0) | 2018.11.27 |