Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
76173 sh25_shenpy 求20个同学的总分和平均分 C++ 无测评数据 0 MS 0 KB 223 2025-12-16 20:59:44

Tests(0/0):


#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(1)<<1.0*i/20; return 0;}