Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1714 莫业祁 13求7个数的最大值 C++ Accepted 0 MS 260 KB 276 2023-11-04 17:52:34

Tests(10/10):


Code:

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