Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148412 周润泽 求最大值 C++ Wrong Answer 0 MS 268 KB 457 2026-02-13 19:42:57

Tests(0/1):


Code:

#include<cstdio> //scanf()\printf() #include<iostream> // cin\cout\endl #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max using namespace std; int main(){ int a[9]; int n,m=0; cin>>n; for(int i=1;i<=10;i++){ cin>>a[i]; } for(int i=1;i<=10;i++){ if(a[i]>m){ m=a[i]; } } cout<<m; return 0; }


Run Info:

------Input------
99 12 235 23 346 423 31612 4389 934 37
------Answer-----
31612
------Your output-----
2057551872