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

백준) 2480번 - python

by kiseno 2024. 3. 17.
728x90
반응형
SMALL
a,b,c = map(int , input().split(" "))

if a==b==c:
    print(10000+a*1000)
elif a==b or a==c or b==c:
    if a==b:
        print(1000 + a *100)
    elif a==c:
        print(1000 + c *100)
    else:
        print(1000 + b *100)
else:
    if a>b and a>c:
        print(a * 100)
    elif b>a and b>c:
        print(b * 100)
    else:
        print(c * 100)
728x90
반응형
LIST

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

백준) 2845번 - python  (0) 2024.03.20
백준) 2742번 - python  (0) 2024.03.19
백준) 2530번 - python  (0) 2024.03.18
백준) 2440번 - python  (0) 2024.03.16
백준) 2083번 - python  (0) 2024.03.15