- 分享
A
- 2023-8-3 9:53:22 @
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
double a,b=0;
cin>>n;
for(int i=1; i<=n; i++)
{
cin>>a;
b+=a;
}
printf("%.2f",b/n);
return 0;
}
0 comments
No comments so far...