Submission #837

# Submission time Handle Problem Language Result Execution time Memory
837 2013-03-11T17:36:52 Z ladown21 짝수 정렬 (tutorial3) C++
Compilation error
0 ms 0 KB
#include <algorithm>

void sort_even(int N, int *A)
{
	std::sort(A,A+N);
	int i;
	for (i=0; i<N; i++)
		if (!(A[i] & 1)) Report(A[i]);
}

Compilation message

grader.cpp:37:2: warning: no newline at end of file
tutorial3.cpp: In function 'void sort_even(int, int*)':
tutorial3.cpp:8: error: 'Report' was not declared in this scope