백준 2480번: 주사위 세개💦
·
백준
https://www.acmicpc.net/problem/2480 내 풀이 A, B, C = map(int,input().split()) price = 0 if A != B != C: price = max(A, B, C) * 100 elif A == B != C: price = 1000 + A * 100 elif A != B ==C: price = 1000 + B * 100 elif A == C != B: price = 1000 + A * 100 elif A == B == C: price = 10000 + A*1000 print(price) 정석 풀이 a, b, c = map(int,input().split()) if a == b == c: print(10000+a*1000) elif a == b or ..