답안 #115796

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
115796 2019-06-09T07:34:14 Z maho04 최댓값 (tutorial2) C++14
컴파일 오류
0 ms 0 KB
#include <algorithm>
2.int GetMax(int N, int *A) {
3.	return *std::max_element(A, A+N);
4.}

Compilation message

tutorial2.cpp:2:1: error: expected unqualified-id before numeric constant
 2.int GetMax(int N, int *A) {
 ^~~~~