실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘mark’: Main.c:62:34: error: ‘new’ undeclared (first use in this function) 62 | temp_map[new.x][new.y] = '#'; | ^~~ Main.c:62:34: note: each undeclared identifier is reported only once for each function it appears in Main.c: In function ‘main’: Main.c:139:33: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=] 139 | scanf("%d", &map[i][j]); | ~^ ~~~~~~~~~~ | | | | | char * | int * | %hhd Main.c:136:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 136 | scanf("%d %d", &N, &M); | ^~~~~~~~~~~~~~~~~~~~~~ Main.c:139:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 139 | scanf("%d", &map[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.