| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5327 | A班-高思婕 | 序列的最大值 | C++ | Accepted | 100 | 1 MS | 652 KB | 279 | 2025-02-04 13:39:09 |
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int a[100001]; for(int i = 1;i <= n;i++) { cin>>a[i]; } int max = a[1]; for(int i = 1;i <= n;i++) { if(a[i] > max) { max = a[i]; } } cout<<max<<endl; return 0; }