Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
83808 sh25_huangse 求20个学生的总分及平均分 C++ 编译错误 0 MS 0 KB 219 2026-02-02 18:02:48

Tests(0/0):


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


测评信息: