제출 #296640

#제출 시각아이디문제언어결과실행 시간메모리
296640williamMBDK웜뱃 (IOI13_wombats)C++14
컴파일 에러
0 ms0 KiB
#include "artclass.h"
int H, W, R[500][500], G[500][500], B[500][500];
int style(int _H, int _W, int _R[500][500], int _G[500][500], int _B[500][500]) {
	H = _H;
	W = _W;
	for(int i = 0; i < H; i++){
		for(int j = 0; j < W; j++){
			R[i][j] = _R[i][j];
			G[i][j] = _G[i][j];
			B[i][j] = _B[i][j];
		}
	}
	return 1;
}

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

grader.c: In function 'int main()':
grader.c:15:6: warning: variable 'res' set but not used [-Wunused-but-set-variable]
   15 |  int res;
      |      ^~~
wombats.cpp:1:10: fatal error: artclass.h: No such file or directory
    1 | #include "artclass.h"
      |          ^~~~~~~~~~~~
compilation terminated.