Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123467 高晨骏 求最大值 C++ Accepted 1 MS 268 KB 292 2025-07-04 20:49:13

Tests(1/1):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include <stdio.h> #include <iomanip> using std::setw; using namespace std; int main() { int a = 0,b; for (int i = 1; i <= 10; i++) { cin>>b; if(a<b){ a=b; } } cout<<a<<endl; return 0; }