# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
71701 |
2018-08-25T11:55:44 Z |
eric00513 |
최댓값 (tutorial2) |
C++ |
|
3 ms |
592 KB |
int GetMax(int N, int *A){
int i, max=0;
for(i=1; i<=N; i++)
if(max<A[i]) max=A[i];
A[0]=max;
return A[0];
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
376 KB |
Output is correct |
2 |
Correct |
2 ms |
484 KB |
Output is correct |
3 |
Incorrect |
3 ms |
592 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
3 ms |
592 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |