14489번 풀이 [Python]

sua·2022년 6월 22일
0

Baekjoon

목록 보기
62/161
post-thumbnail

문제


풀이

a, b = map(int, input().split())
c = int(input())
n = 2 * c

if (a + b) >= n:
    print(a + b - n)
else:
    print(a + b)
profile
가보자고

0개의 댓글