Submission #722

#TimeUsernameProblemLanguageResultExecution timeMemory
722jyuno426최댓값 (tutorial2)C++98
Compilation error
0 ms0 KiB
int GetMax(int N, *A)
{
  int max = A[0];
  for(int i = 1; i < N; i++)
    if(max < A[i]) max = A[i];
  
  return max;
}

Compilation message (stderr)

tutorial2.cpp:1:19: error: expected identifier before '*' token