Submission #18306

#TimeUsernameProblemLanguageResultExecution timeMemory
18306jaihuni최댓값 (tutorial2)C++98
100 / 100
0 ms1084 KiB

int GetMax(int N, int *A){
    int m = 0;

    while(N--) {
        if(A[N] > m) m = A[N];
    }

    return m;

}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...