python-algorithm

[백준] 13866

무적김두칠 2020. 12. 16. 10:14

1
2
a,b,c,d=map(int,input().split())
print(abs( a+b+c+d-(max(a,b,c,d))*2-(min(a,b,c,d))*2))
cs
반응형