Submission #3124

#TimeUsernameProblemLanguageResultExecution timeMemory
3124beegle20짝수 정렬 (tutorial3)C++98
Compilation error
0 ms0 KiB
int sort_even(int N, int *A) { for(int i=0;i<N;i++) { if(A[i]%==0) Report(A[i]); } }

Compilation message (stderr)

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]