| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 81393 | sh25_wuyy | 均值 | C++ | Accepted | 0 MS | 248 KB | 238 | 2026-01-04 17:41:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; float a[n],sum; for(int i=0;i<n;i++){ cin>>a[i]; sum+=a[i]; } cout<<fixed<<setprecision(4)<<sum/n; return 0; }