18330번 풀이 [Python]

sua·2022년 7월 15일
0

Baekjoon

목록 보기
85/161
post-thumbnail

문제


풀이

a = int(input())
b = int(input())

c = min(a, b + 60)
d = c * 1500 + (a - c) * 3000
print(d)
profile
가보자고

0개의 댓글