본문 바로가기
백준문제/브론즈 4

백준) 14470번 - python

by kiseno 2024. 4. 18.
728x90
반응형
SMALL
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
print(c * abs(a) + d + b * e if a < 0 else (b - a) * e)
728x90
반응형
LIST

'백준문제 > 브론즈 4' 카테고리의 다른 글

백준) 14652번 - python  (1) 2024.04.20
백준) 14489번 - python  (0) 2024.04.19
백준) 13866번 - python  (0) 2024.04.17
백준) 13752번 - python  (0) 2024.04.16
백준) 11948번 - python  (0) 2024.04.15