#include<cstdio>
int main(){
 int n;
 double x,sum=0;
 scanf("%d",&n);
 for (int i=1;i<=n;i++){
  scanf("%lf",&x);
  sum=sum+x;
 }
 printf("%.4lf",sum/n);
 return 0;
}

相关文章:

  • 2022-01-26
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
  • 2021-05-02
  • 2021-11-30
  • 2021-07-07
猜你喜欢
  • 2022-12-23
  • 2021-06-05
  • 2021-07-04
  • 2021-10-22
  • 2022-12-23
  • 2022-01-05
  • 2021-05-22
相关资源
相似解决方案