Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94764 黄思翔 13求7个数的平均数 C++ Accepted 1 MS 276 KB 161 2024-10-26 13:08:29

Tests(10/10):


Code:

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