Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148371 吴昊 求最大值 C++ Wrong Answer 0 MS 268 KB 210 2026-02-11 17:58:59

Tests(0/1):


Code:

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


Run Info:

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