Submission #3122

# Submission time Handle Problem Language Result Execution time Memory
3122 2013-08-25T13:01:48 Z beegle20 짝수 정렬 (tutorial3) C++
Compilation error
0 ms 0 KB
#include "grader.h"
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:9:1: warning: no return statement in function returning non-void [-Wreturn-type]