Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71286 胡海峰老师 08比较三个数的大小 Python3 Accepted 34 MS 3776 KB 275 2024-04-21 19:18:55

Tests(10/10):


Code:

a,b,c = input().split() a,b,c = int(a),int(b),int(c) #input 输入 ma = a #擂主是a if b>ma: #测试a和b谁大: 擂主是ma=(a,b) ma = b if c>ma: #测试c和ma谁大:c是新人 ma是a,b中的擂主 ma = c #process 处理 print(ma)