Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151555 胡誉骞 13求7个数的最大值 C++ Accepted 2 MS 272 KB 221 2026-04-13 17:30:38

Tests(10/10):


Code:

#include <iostream> using namespace std; int main(){ int max=-10000; for(int x=1;x<=7;x++){ int a; cin>>a; if(a>max){ max=a; } } cout<<max*max<<endl; cout<<max*max*max; }