Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
93763 | 王煜鑫 | 13求7个数的平均数 | C++ | Wrong Answer | 1 MS | 268 KB | 196 | 2024-10-19 11:07:25 |
#include<iostream> using namespace std; int main(){ int n,a,t=0; cin>>n; for(int i=1;i<=n;i++){ cin>>a; t+=a; } cout<<t/n; }
------Input------
64 70 75 65 23 100 7
------Answer-----
57
------Your output-----
11