1
2
3
4
5
6
|
def sol(input_list):
a,b,c=input_list[3]-input_list[0],input_list[3]-input_list[1],input_list[3]-input_list[2]
print(a,b,c)
num_list=sorted(map(int, input().split()))
sol(num_list)
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
codeforces 1352A - Sum of Round Numbers (0) | 2022.05.02 |
---|---|
codeforces 1335A - Candies and Two Sisters (0) | 2022.05.02 |
codeforces 486A - Calculating Function (0) | 2022.04.29 |
codeforces 155A - I_love_\%username\% (0) | 2022.04.29 |
codeforces 977A - Wrong Subtraction (0) | 2022.04.29 |
댓글