| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 77963 | sh25_yezy | 均值 | C++ | Accepted | 0 MS | 244 KB | 224 | 2025-12-26 15:08:57 |
#include<bits/stdc++.h> using namespace std; int main (){ int n; float f; double sum=0; cin>>n; for(int i=0;i<n;i++){ cin>>f; sum+=f; } sum=sum/n; cout<<fixed<<setprecision(4)<<sum; return 0; }