Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129528 冯晨硕 计算平均分 C++ 通过 100 0 MS 256 KB 182 2024-01-27 08:49:36

Tests(4/4):


#include <bits/stdc++.h> using namespace std; int main() { float pj; int n; cin>>n; float a[n]; for(int i=0; i<n; i++) cin>>a[i],pj+=a[i]; pj=pj/n; printf("%.2f",pj); return 0; }


测评信息: