제출 #4596

#제출 시각아이디문제언어결과실행 시간메모리
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...