| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75255 | sh25_wuyy | 求平均年龄 | C++ | Accepted | 0 MS | 244 KB | 199 | 2025-12-05 15:37:55 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,sum=0; cin>>n; for(int i=0;i<n;i++){ int year; cin>>year; sum+=year; } printf("%.2f",sum*1.0/n); return 0; }