Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7634 | 余立涵 | 13求7个数的平均数 | C++ | Accepted | 0 MS | 260 KB | 175 | 2025-05-10 11:32:10 |
#include<bits/stdc++.h> using namespace std; int main(){ int s,i=0; for(int a=1;a<=7;a++){ cin>>s; i=i+s; } cout<<i/7<<endl; return 0; }