Submission #8816

#TimeUsernameProblemLanguageResultExecution timeMemory
8816dolpang2최댓값 (tutorial2)C++14
Compilation error
0 ms0 KiB
int GetMax(int N, int *A){ int max_value = std::max(A, A + N); return max_value; }

Compilation message (stderr)

tutorial2.cpp: In function 'int GetMax(int, int*)':
tutorial2.cpp:2:19: error: 'max' is not a member of 'std'