Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158495 王艺博 13求7个数的最大值 C++ Accepted 2 MS 276 KB 188 2026-08-22 11:36:12

Tests(10/10):


Code:

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