Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
9707 海瑧 均值 C++ 编译错误 0 MS 0 KB 223 2023-02-16 21:12:23

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int n; double a,b=0; cin>>n; for(int i=0;i<n;i++){ cin>>a; b+=a; } double aver=b/n; cout << fixed << setprcition(4) << aver; return 0; }


测评信息: