Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
32941 | charlotteJ | 最高的分数 | C++ | Accepted | 0 MS | 244 KB | 181 | 2023-12-03 16:45:07 |
#include<iostream> using namespace std; int main(){ int n,x,maxn=-1; cin>>n; for(int i=1;i<=n;i++){ cin>>x; if(x>maxn) maxn=x; } cout<<maxn; return 0; }