Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5494 | 刘轩宁 | 13求7个数的最大值 | C++ | Wrong Answer | 0 MS | 256 KB | 204 | 2024-11-16 20:40:42 |
#include<iostream> using namespace std; int main(){ int a,max=0; for(int i=0;i<=7;i++){ cin>>a; if(max<a){ max=a; } } cout<<"平方"<<max*max<<"立方"<<max*max*max; return 0; }
------Input------
73 74 54 78 60 20 9
------Answer-----
6084 474552
------Your output-----
平方6084立方474552