| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 161441 | 王垚植 | 计算平均数 | C++ | Accepted | 1 MS | 272 KB | 289 | 2026-10-05 13:07:15 |
#include<bits/stdc++.h> using namespace std; int main(){ double a[6],s=0; for(int i=1;i<=5;i++){ cin>>a[i]; s+=a[i]; } s/=5; printf("%.2lf\n",s); for(int j=1;j<=5;j++){ if(a[j]>s) cout<<a[j]<<" "; } return 0; }