[백준] 2480번 : 주사위 세개 - Python(파이썬)

강재원·2022년 9월 14일
0

[코딩테스트] Python

목록 보기
33/200



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

a,b,c=map(int,input().split())
if a==b and 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:
    ma=max(a,max(b,c))
    print(ma*100)
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글