| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 124131 | 李俊博 | 计算平均数 | C++ | Wrong Answer | 1 MS | 272 KB | 898 | 2025-07-11 09:52:19 |
//double #include<bits/stdc++.h> using namespace std; int a[5];//数组的定义 int main(){ /** 88 //int n[10]={1,2,3,4,5,6,7,8,9,10}; int n; cin>>n; //数组输入 for(int i=1;i<=n;i++){ cin>>a[i]; } //数组输出 for(int i=n;i>=1;i--){ cout<<a[i]<<" "; } **/ for(int i=1;i<=4;i++){ cin>>a[i]; } for(int i=1;i<=4;i++){ cout<<a[i]<<" "; } printf("%.2f",a); return 0; }
------Input------
679 849 98 256 256
------Answer-----
427.60 679 849
------Your output-----
679 849 98 256 0.00