提交时间:2025-12-19 14:56:18
运行 ID: 76422
#include <bits/stdc++.h> using namespace std; int main() { double a,tot=0; int n; cin >>n; for(int i = 1;i<=n;i++) { cin >> a; tot+=a; } tot= tot /n; cout << fixed<<setprecision(2)<<tot; return 0; }