| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 77551 | sh25_zhangjiajia | 均值 | C++ | Accepted | 0 MS | 248 KB | 242 | 2025-12-26 14:26:15 |
#include <bits/stdc++.h> using namespace std; int main() { double n; cin >> n; double a,tot; for(int i = 0;i<n;i++) { cin >> a; tot+=a; } tot= tot/n; cout <<fixed<<setprecision(4) <<tot<<endl; return 0; }