Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94779 何睿函 13求7个数的平均数 C++ Accepted 1 MS 268 KB 186 2024-10-26 13:20:31

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b=0; int i=0; while(i<7){ i++; cin>>a; b=b+a; } int avg; avg=b/7; cout<<avg; return 0; }