| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 13935 | 孙喻桐 | 最高的分数 | C++ | Accepted | 100 | 0 MS | 248 KB | 215 | 2021-02-05 08:58:16 |
#include<bits/stdc++.h> using namespace std; int n,x,ans=0; int main(){ cin>>n; for(int i=1;i<=n;i++){ cin>>x; if(i==1) ans=x; if(x>ans) ans=x; // ans=max(x,ans) } cout<<ans<<endl; return 0; }