Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5224 D班-西瓜 序列的最大值 C++ 通过 100 1 MS 260 KB 202 2025-01-24 09:29:38

Tests(5/5):


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


测评信息: