Submission #3124

# Submission time Handle Problem Language Result Execution time Memory
3124 2013-08-25T13:02:55 Z beegle20 짝수 정렬 (tutorial3) C++
Compilation error
0 ms 0 KB
int sort_even(int N, int *A)
{
  for(int i=0;i<N;i++)
  {
    if(A[i]%==0)
      Report(A[i]);
  }
}

Compilation message

tutorial3.cpp: In function 'int sort_even(int, int*)':
tutorial3.cpp:6:14: error: expected primary-expression before '=' token
tutorial3.cpp:7:18: error: 'Report' was not declared in this scope
tutorial3.cpp:9:1: warning: no return statement in function returning non-void [-Wreturn-type]