Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115774 冯潇阳 求三个数的最大值 Python3 Wrong Answer 36 MS 3772 KB 258 2025-04-04 11:17:13

Tests(0/1):


Code:

a,b,c=input().split() a=int(a) b=int(b) c=int(c) a!=b,b!=c if a>b>c: print("max=",a) elif a>c>b: print("max=",a) elif b>a>c: print("max=",b) elif b>c>a: print("max=",b) elif c>a>b: print("max=",c) else: print("max=",c)


Run Info:

------Input------
8 5 20
------Answer-----
max=20
------Your output-----
max= 20