실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:73:55: warning: statement with no effect [-Wunused-value] 73 | dist[i][j][k] == 0; | ~~~~~~~~~~~~~~^~~~ Main.c:88:41: error: ‘z’ undeclared (first use in this function) 88 | if (map[z][y][x]==0 && dist[i][j][k] == -1) { | ^ Main.c:88:41: note: each undeclared identifier is reported only once for each function it appears in Main.c:88:44: error: ‘y’ undeclared (first use in this function) 88 | if (map[z][y][x]==0 && dist[i][j][k] == -1) { | ^ Main.c:88:47: error: ‘x’ undeclared (first use in this function) 88 | if (map[z][y][x]==0 && dist[i][j][k] == -1) { | ^ Main.c:56:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 56 | scanf("%d %d %d", &m, &n, &h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:61:33: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 61 | scanf("%1d", &map[i][j][k]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.