Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75947 cfx 求最大值 C++ Accepted 1 MS 272 KB 232 2024-06-01 10:56:18

Tests(1/1):


Code:

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