Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
38028 yuzhengxun 均值 C++ 通过 0 MS 252 KB 175 2024-01-24 14:58:14

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { double a,b,s; cin>>a; for(int i=1;i<=a;i++){ cin>>b; s+=b; } printf("%.4lf",s/a); return 0; }


测评信息: