본문 바로가기
python-algorithm

[백준] 14489

by 무적김두칠 2020. 12. 29.

1
2
3
4
5
import sys
a,b=map(int,sys.stdin.readline().split())
c=int(sys.stdin.readline())
if a+b>=2*c : print(a+b-2*c)
elseprint(a+b)
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 14579  (0) 2020.12.29
[백준] 14568  (0) 2020.12.29
[백준] 13752  (0) 2020.12.29
[백준] 13416  (0) 2020.12.29
[백준] 13118  (0) 2020.12.29

댓글