실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘bfs’: Main.c:46:56: error: ‘n’ undeclared (first use in this function); did you mean ‘ny’? 46 | if (nx >= 0 && ny >= 0 && nx < n && ny < n) | ^ | ny Main.c:46:56: note: each undeclared identifier is reported only once for each function it appears in Main.c: In function ‘main’: Main.c:60:13: warning: unused variable ‘counting’ [-Wunused-variable] 60 | int counting = 0, index = 0, n = 0; | ^~~~~~~~ Main.c:61:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 61 | scanf("%d", &n); | ^~~~~~~~~~~~~~~ Main.c:73:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 73 | scanf("%1d", &map[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.