Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129481 11 计算平均分 C++ 通过 100 0 MS 256 KB 192 2024-01-27 08:40:02

Tests(4/4):


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


测评信息: