Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
120240 李林叡 13求7个数的最大值 C++ Accepted 1 MS 268 KB 204 2025-05-24 15:38:51

Tests(10/10):


Code:

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