Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69923 谢绍澜 13求7个数的最大值 C++ Accepted 1 MS 272 KB 257 2024-04-11 19:03:52

Tests(10/10):


Code:

# include<iostream> # include<cstdio> using namespace std; int main(){ int b[7],max=0; for(int i=0;i<7;i++){ cin>>b[i]; if(b[i]>max) max=b[i]; } cout<<max*max<<endl<<max*max*max; return 0; }