Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
51616 | 张思存 | 最高的分数 | C++ | Accepted | 0 MS | 248 KB | 275 | 2024-09-22 21:57:42 |
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int max=0; for (int i = 0; i < n; i++) { int num; cin >> num; if(max<num){ max=num; } } cout<<max; return 0; }