Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130597 胡海峰老师 计算平均数 Python3 Accepted 57 MS 3792 KB 309 2025-09-14 11:00:57

Tests(10/10):


Code:

a,b,c,d,e = input().split() a = int (a) b = int(b) c = int(c) d = int(d) e = int(e) avg = (a+b+c+d+e)/5 print("{:.2f}".format(avg)) if a>avg: print(a,end=" ") if b>avg: print(b,end=" ") if c>avg: print(c,end=" ") if d>avg: print(d,end=" ") if e>avg: print(e,end=" ")