Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158243 王垚植 求最大值 C++ Accepted 1 MS 268 KB 213 2026-08-20 17:28:22

Tests(1/1):


Code:

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