๋ฐ์ํ
https://www.acmicpc.net/problem/5543
burger = 2000
for i in range(3):
a = int(input())
burger = min(burger, a)
beverage = 2000
for i in range(2):
a = int(input())
beverage = min(a, beverage)
set = burger + beverage - 50
print(set)
๋ฐ์ํ
'๐ ํ์ด์ฌ ์์ด์ง' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[BOJ][Python] ๋ฐฑ์ค 1010๋ฒ: ๋ค๋ฆฌ ๋๊ธฐ (0) | 2024.09.27 |
---|---|
[BOJ][Python] ๋ฐฑ์ค 10156๋ฒ: ๊ณผ์ (0) | 2024.09.23 |
[BOJ][Python] ๋ฐฑ์ค 10797๋ฒ: 10๋ถ์ (0) | 2024.09.22 |
[BOJ][Python] ๋ฐฑ์ค 10101๋ฒ: ์ผ๊ฐํ ์ธ์ฐ๊ธฐ (1) | 2024.09.18 |
[BOJ][Python] ๋ฐฑ์ค 10039๋ฒ: ํ๊ท ์ ์ (0) | 2024.09.16 |