728x90
반응형
단순 사칙연산 문제이다.
A1 = int(input())
A2 = int(input())
A3 = int(input())
r1 = A2*2 + A3*4
r2 = A1*2 + A3*2
r3 = A1*4 + A2*2
print(min(r1, r2, r3))
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 15080번 Every Second Counts(python) (0) | 2021.02.07 |
---|---|
백준 알고리즘 15059번 Hard choice(python) (0) | 2021.02.07 |
백준 알고리즘 15048번 Jogo de Boca(python) (0) | 2021.02.07 |
백준 알고리즘 15025번 Judging Moose(python) (0) | 2021.02.07 |
백준 알고리즘 14935번 FA(python) (0) | 2021.02.07 |