실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘bfs’: Main.c:30:15: error: ‘i’ undeclared (first use in this function) 30 | visit[i][j] = 1; | ^ Main.c:30:15: note: each undeclared identifier is reported only once for each function it appears in Main.c:30:18: error: ‘j’ undeclared (first use in this function) 30 | visit[i][j] = 1; | ^ Main.c: In function ‘main’: Main.c:53:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 53 | scanf("%d", &n); | ^~~~~~~~~~~~~~~ Main.c:58:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 58 | scanf("%d", &map[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.