제출 #808

#제출 시각아이디문제언어결과실행 시간메모리
808hana5505짝수 정렬 (tutorial3)C++98
컴파일 에러
0 ms0 KiB
#include<algorithm>
using namespace std;
int GetMax(int N, int *A){
	int i;
	sort(A,A+N);
	for(i=0;i<N;i++)
		if(A[i]%2==0) Report(i);
	return 0;
}

컴파일 시 표준 에러 (stderr) 메시지

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