| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 86210 | 高楷伦 | 13求7个数的最大值 | C++ | Accepted | 1 MS | 272 KB | 264 | 2024-07-23 18:11:35 |
# include<iostream> # include<cstdio> # include<iomanip> # include<cmath> using namespace std; int main(){ int max=0,oct; for(int i=1;i<=7;i++){ cin>>oct; if(oct>max){ max=oct; } } cout<<max*max<<endl<<max*max*max; return 0; }