Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94775 糜宗易 13求7个数的平均数 C++ Accepted 1 MS 276 KB 162 2024-10-26 13:16:44

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c,d,e,f,g,sum=0; cin>>a>>b>>c>>d>>e>>f>>g; sum=a+b+c+d+e+f+g; cout<<sum/7; return 0; }