본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#174 백준 파이썬 [2480] 주사위 세개

https://www.acmicpc.net/problem/2480

 

#Solution

간단한 것 최.고.

a, b, c = map(int, input().split())

if a == b == c:
    print(10000+a*1000)
elif a == b:
    print(1000+a*100)
elif a == c:
    print(1000+a*100)
elif b == c:
    print(1000+b*100)
else:
    print(100 * max(a,b,c))