Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
123573 | 王培用 | 13求7个数的平均数 | C++ | Accepted | 1 MS | 276 KB | 149 | 2025-07-06 13:16:36 |
#include<bits/stdc++.h> using namespace std; int main(){ int s=0; int x; for(int i=1;i<=7;i++){ cin>>x; s=x+s; } cout<<s/7; return 0; }