๐Ÿ ํŒŒ์ด์ฌ ์ƒ์ดˆ์งœ

[BOJ][Python] ๋ฐฑ์ค€ 5543๋ฒˆ: ์ƒ๊ทผ๋‚ ๋“œ

์„ ๋‹ฌ 2024. 9. 17. 00:50
๋ฐ˜์‘ํ˜•

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)
๋ฐ˜์‘ํ˜•