Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136034 丁俊杰 求最大值 C++ Accepted 1 MS 264 KB 280 2025-11-08 21:30:49

Tests(1/1):


Code:

#include <iostream> // 里面有cin,cout等函数 #include<cmath> //里面有abs,sqrt,pow等函数 using namespace std; int main(){ int x,maxn=0; for(int i=1;i<=10;i++) { cin>>x; if(x>maxn) maxn=x; } cout <<maxn; return 0; }