Submission #4596

#TimeUsernameProblemLanguageResultExecution timeMemory
4596Namnamseo최댓값 (tutorial2)C++98
20 / 100
0 ms1088 KiB
int GetMax(int n,int* a) { int answer=-1; while(true) { if(answer<a[n]) answer=a[n]; if(!n) break; n--; } return answer; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...