| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 160761 | 吴尔玉 | 13求7个数的最大值 | C++ | Wrong Answer | 1 MS | 272 KB | 228 | 2026-09-26 12:06:27 |
#include<iostream> using namespace std; int main(){ int n,m; cin>>n; long long max=0; for(int i=1;i<=7;i++){ cin>>m; if(m>max){ max=m; } } cout<<max*max<<endl; cout<<max*max*max<<endl; return 0; }
------Input------
76 49 40 8 12 52 5
------Answer-----
5776 438976
------Your output-----
2704 140608