Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158564 王慕哲 求最大值 C++ Wrong Answer 1 MS 276 KB 195 2026-08-22 15:12:06

Tests(0/1):


Code:

#include <iostream> using namespace std; int main(){ int a[11],s=0,t; for(int i=1;i<=10;i++){ cin>>a[i]; s=max(a[i],a[i+1]); } cout<<s; return 0; }


Run Info:

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