Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
29556 | lnx | 最高的分数 | C++ | Accepted | 0 MS | 248 KB | 188 | 2023-10-31 18:52:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a,b=0; cin>>n; for(int i=0;i<n;i++){ cin>>a; if(a>b){ b=a; } } cout<<b<<endl; return 0; }