Submission #18471

#TimeUsernameProblemLanguageResultExecution timeMemory
18471jjhstop최댓값 (tutorial2)C++98
100 / 100
0 ms1084 KiB
int GetMax(int N, int *A){
	for (int i = 1; i < N; i++) {
		if (A[0] < A[i]) A[0] = A[i];
	}
	return A[0];
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...