Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163660 王垚植 13求7个数的平均数 C++ Accepted 1 MS 272 KB 161 2026-10-27 19:10:51

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,n,sum=0; for(a=1;a<=7;a++){ cin>>n; sum=sum+n; } cout<<sum/7<<' '; return 0; }