본문 바로가기
python-algorithm

[백준] 14470

by 무적김두칠 2020. 12. 16.

1
2
3
4
5
6
7
8
9
10
a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())
 
if a<0:
    print(abs(a)*c+d+b*e)
else:
    print((b-a)*e)
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 14681  (0) 2020.12.16
[백준] 14623  (0) 2020.12.16
[백준] 13866  (0) 2020.12.16
[백준] 11948  (0) 2020.12.16
[백준] 11943  (0) 2020.12.16

댓글