# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
145773 | 2019-08-21T06:50:02 Z | lkyeon328 | 최댓값 (tutorial2) | C++14 | 5 ms | 376 KB |
#include <iostream> using namespace std; int GetMax(int n, int *arr){ int ans = -1; for (int i = 0; i < n; i++){ ans = max(ans, arr[i]); } cout << ans; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 5 ms | 376 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 256 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |