Submission #115796

#TimeUsernameProblemLanguageResultExecution timeMemory
115796maho04최댓값 (tutorial2)C++14
Compilation error
0 ms0 KiB
#include <algorithm> 2.int GetMax(int N, int *A) { 3. return *std::max_element(A, A+N); 4.}

Compilation message (stderr)

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