panningsen • 3年前
评论:
a,b,c=map(int,input().split()) if abs(a)>abs(c):
a,c=c,a
elif abs(a)==abs(c):
if a>c:
a,c=c,a
if abs(b)>abs(c):
b,c=c,b
elif abs(b)==abs(c):
if b>c:
b,c=c,b
if abs(a)>abs(b):
a,b=b,a
elif abs(a)==abs(b):
if a>b:
a,b=b,a
print(a,b,c)
a a,b,c=map(int,input().split()) if abs(a)>abs(c):
a,c=c,a
elif abs(a)==abs(c):
if a>c:
a,c=c,a
if abs(b)>abs(c):
b,c=c,b
elif abs(b)==abs(c):
if b>c:
b,c=c,b
if abs(a)>abs(b):
a,b=b,a
elif abs(a)==abs(b):
if a>b:
a,b=b,a
print(a,b,c)