15059번 풀이 [Python]

sua·2022년 6월 27일
0

Baekjoon

목록 보기
67/161
post-thumbnail

문제


풀이

a, b, c = map(int, input().split())
d, e, f = map(int, input().split())
n = max(0, d - a) + max(0, e - b) + max(0, f - c)
print(n)
profile
가보자고

0개의 댓글