| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 83809 | sh25_huangse | 求20个学生的总分及平均分 | C++ | Accepted | 0 MS | 252 KB | 238 | 2026-02-02 18:03:07 |
#include<iostream> #include<iomanip> 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; }