python-algorithm
[백준] 15059
무적김두칠
2021. 3. 5. 14:19
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 |
반응형