#include<bits/stdc++.h>
using namespace std;
int main(){
int n,nl;
cin>>n;
int sum;
double sumpj=0;
for(int i=1;i<=n;i++){
cin>>nl;
sum+=nl;
}
sumpj=(sum*1.0)/n;
printf("%0.2lf",sumpj);
return 0;
}
1059:求平均年龄
最新推荐文章于 2024-08-26 21:22:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)