# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
148355 | 2019-09-01T03:59:42 Z | sg1774 | 최댓값 (tutorial2) | C++11 | 0 ms | 0 KB |
#include <bits/stdc++.h> using namespace std; GetMax(int n, int a[200]) { int s=0; for(int i=0;i<n;i++) s=max(s,a[i]); printf("%d",s); }