[Python] 백준 2480번 주사위 세개
업데이트:
백준 2480번 : 주사위 세개
A, B, C = map(int,input().split())
if A == B == C:
price = 10000+A*1000
elif A == B:
price = 1000+A*100
elif B == C:
price = 1000+B*100
elif C == A:
price = 1000*C*100
else:
price = max(A,B,C)*100
print(price)
댓글남기기