Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125429 | 王培用 | 13求7个数的最大值 | C++ | Wrong Answer | 0 MS | 268 KB | 242 | 2025-07-14 16:24:59 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f,g,max; cin>>a>>b>>c>>d>>e>>f>>g; for(int i=a,b,c,d,e,f,g;i<max+1;i++){ if(max>a,b,c,d,e,f,g){ cout<<max*max<<endl<<max*max*max; } } return 0; }
------Input------
64 70 75 65 23 100 7
------Answer-----
10000 1000000
------Your output-----