#include<bits/stdc++.h>
using namespace std;
int main()
{
double a,s,x=0;
cin>>a;
for(int i=1;i<=a;i++)
{
cin>>s;
x+=s;
}
x=x/a;
cout<<setw(4)<<fixed<<setprecision(4)<<x;
return 0;
}
1064:奥运奖牌计数时间限制: 1000 ms 内存限制: 65536 KB提交数: 86402 通过数: 58688【题目描述】2008年北京奥运会,
最新推荐文章于 2024-09-15 11:40:06 发布