| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 86391 | 汤弘毅 | 计算平均数 | Python3 | Wrong Answer | 33 MS | 3764 KB | 154 | 2024-07-24 20:48:46 |
s = input() a = eval(s.replace(' ','+'))/(s.count(' ')+1) print('{:.2f}'.format(a)) m = [x for x in s.replace(' ','0' )if int(x)>a] print(' '.join(m))
------Input------
679 849 98 256 256
------Answer-----
427.60 679 849
------Your output-----
427.60