728x90
반응형
단순 사칙연산 문제이다.
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 b == c:
print(1000 + b*100)
elif c == a:
print(1000 + c*100)
else:
print(max(a, b, c)*100)
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 2530번 인공지능 시계(python) (0) | 2021.02.04 |
---|---|
백준 알고리즘 2525번 오븐 시계(python) (0) | 2021.02.04 |
백준 알고리즘 2420번 사파리월드(python) (0) | 2021.02.04 |
백준 알고리즘 1212번 8진수 2진수(python) (0) | 2021.02.04 |
백준 알고리즘 20492번 세금(python) (0) | 2021.02.04 |