Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92887 | 王百琛 | 13求7个数的平均数 | C++ | Accepted | 1 MS | 272 KB | 167 | 2024-10-06 17:45:19 |
#include<bits/stdc++.h> using namespace std; int flag; int temp; int main() { int a,s = 0; for(int i=1;i<=7;i++){ cin>>a; s += a; } cout<<s/7; }