Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
49590 刘正楷 比较三个数的大小 Python3 Accepted 37 MS 3796 KB 382 2023-07-09 15:32:43

Tests(1/1):


Code:

a,b,c=map(int,input().split()) if a>b and b>c: print(str(a)+" "+str(b)+" "+str(c)) elif a>c and c>b: print(str(a)+" "+str(c)+" "+str(b)) elif b>a and a>c: print(str(b)+" "+str(a)+" "+str(c)) elif b>c and c>a: print(str(b)+" "+str(c)+" "+str(a)) elif c>a and a>b: print(str(c)+" "+str(a)+" "+str(b)) else: print(str(c)+" "+str(b)+" "+str(a))