Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
81173 sh25_zhuwy 求20个学生的总分及平均分 C++ 通过 0 MS 240 KB 223 2026-01-04 15:40:48

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,i=0; for(int s=1;s<=20;++s){ cin>>n; i+=n; } cout<<i<<endl; cout<<fixed<<setprecision(2)<<1.0*i/20; return 0;}


测评信息: