# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
145778 | 2019-08-21T06:51:18 Z | xxxxorb0221 | 최댓값 (tutorial2) | C++14 | 0 ms | 0 KB |
#include<cstdio> #include<algorithm> using namespace std; int Getmax(int N,int[] A){ int ans=A[0]; for(int i=0;i<N;i++) ans=max(ans,A[i]); return ans; }