Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126600 硕博·黄凯麟·连读 计算平均分 C++ 通过 100 0 MS 252 KB 194 2024-01-24 16:45:24

Tests(4/4):


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


测评信息: