Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
49588 蔡璟恒 比较三个数的大小 Python3 Accepted 36 MS 3792 KB 376 2023-07-09 15:23:27

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>c and c>a: print(str(b)+" "+str(c)+" "+str(a)) elif b>a and a>c: print(str(b)+" "+str(a)+" "+str(c)) elif c>a and a>b: print(str(c)+" "+str(a)+" "+str(b)) else: print(str(c)+" "+str(b)+" "+str(a))