Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147953 姜景文 求最大值 C++ Wrong Answer 0 MS 268 KB 228 2026-02-09 09:26:18

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a[10]; int max; for(int i=0;i<10;i++){ cin>>a[i]; max=a[0]; if(max<a[i]) max=a[i]; } cout<<max; return 0; }


Run Info:

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