Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115541 | 周宸宇 | 13求7个数的最大值 | C++ | Wrong Answer | 0 MS | 260 KB | 425 | 2025-03-31 18:57:56 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n,max=0; for(int i=771;i<=7;i++){ cin>>n; if(n>max){ max=n; } } cout<<n*n; cout<<n*n*n; return 0; }
------Input------
64 70 75 65 23 100 7
------Answer-----
10000 1000000
------Your output-----
00