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

Tests(0/10):


Code:

a,b,c,d,e = input().split() a = float (a) b = float(b) c = float(c) d = float(d) e = float(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=" ")


Run Info:

------Input------
679 849 98 256 256
------Answer-----
427.60 679 849
------Your output-----
427.60 679.0 849.0