Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5911 | 刘芃伽 | 13求7个数的平均数 | C++ | Accepted | 0 MS | 264 KB | 159 | 2024-12-21 09:41:27 |
#include<iostream> using namespace std; int main(){ int temp,s=0; for(int i=1;i<=7;i++){cin>>temp;s+=temp;} cout<<s/7<<endl; return 0; }