1
2
3
4
5
6
7
|
a,b,c=map(int,input().split())
a1,b1,c1=map(int,input().split())
cnt=0
if a1>a: cnt+= a1-a
if b1>b: cnt+= b1-b
if c1>c: cnt+= c1-c
print(cnt)
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 15474 (0) | 2021.03.05 |
---|---|
[백준] 15236 (0) | 2021.03.05 |
[백준] 15051 (0) | 2021.03.05 |
[백준] 15025 (0) | 2021.03.05 |
[백준] 14935 (0) | 2021.03.05 |
댓글