| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 81173 | sh25_zhuwy | 求20个学生的总分及平均分 | C++ | Accepted | 0 MS | 240 KB | 223 | 2026-01-04 15:40:48 |
#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;}