Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93193 林嘉乐 13求7个数的最大值 C++ Wrong Answer 0 MS 272 KB 209 2024-10-12 18:50:31

Tests(0/10):


Code:

#include<iostream> using namespace std; int main() { int a,max; cin>>max; for(int i=1;i<=6;i++){ if(max<a){ max=a; } cin>>a; } cout<<max*max<<endl; cout<<max*max*max<<endl; return 0; }


Run Info:

------Input------
64 70 75 65 23 100 7
------Answer-----
10000 1000000
------Your output-----
2095626496 -1997197312