20233번 풀이 [Python]

sua·2022년 7월 20일
0

Baekjoon

목록 보기
90/161
post-thumbnail

문제


풀이

a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
n = a + max(e - 30, 0) * b * 21
m = c + max(e - 45, 0) * d * 21
print(n, m)
profile
가보자고

0개의 댓글