Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5818 | 吴承熹 | 13求7个数的平均数 | C++ | Wrong Answer | 0 MS | 264 KB | 216 | 2024-12-15 12:53:19 |
#include<iostream> using namespace std; int main(){ int _max; int temp; for(int i=1;i<=7;i++){ cin>>temp; _max=temp+_max; } cout<<_max/7<<endl; return 0; }
------Input------
73 74 54 78 60 20 9
------Answer-----
52
------Your output-----
1086666