Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123988 田子熙 13求7个数的平均数 C++ Wrong Answer 1 MS 268 KB 217 2025-07-10 15:32:52

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long a; long long max=1; for(int i=1;i<=7;i++){ cin>>a; if(a>max){ max=a; } } cout<<max*max<<endl; cout<<max*max*max<<endl; }


Run Info:

------Input------
64 70 75 65 23 100 7
------Answer-----
57
------Your output-----
10000 1000000