提交时间:2025-12-26 15:24:42

运行 ID: 78144

#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; }