Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
93196 | 欧阳俊懿 | 13求7个数的最大值 | C++ | Wrong Answer | 1 MS | 280 KB | 203 | 2024-10-12 18:57:49 |
#include<iostream> using namespace std; int main() { int a,max; cin>>max; for(int i=1;i<=6;i++){ cin>>a; if(a>max){ max=a; } } cout<<max*max*max; return 0; }
------Input------
64 70 75 65 23 100 7
------Answer-----
10000 1000000
------Your output-----
1000000