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

백준) 28927번 - python

by kiseno 2024. 3. 3.
728x90
반응형
SMALL
t1, e1, f1 = map(int, input().split())
t2, e2, f2 = map(int, input().split())

if t1 * 3 +e1 * 20 + f1 * 120 > t2 * 3 + e2 * 20 +f2 * 120 :print("Max")
elif t1 * 3 +e1 * 20 +f1 * 120 == t2 * 3+ e2 * 20+f2 * 120 :print("Draw")
else: print("Mel")
728x90
반응형
LIST

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

백준) 28938번 - python  (0) 2024.03.05
백준) 29163번 - python  (0) 2024.03.04
백준) 28701번 - python  (0) 2024.03.02
백준) 25314번 - python  (1) 2024.03.01
백준) 14645번 - python  (0) 2024.02.29