실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘bfs’: Main.c:2:5: error: ‘visit’ undeclared (first use in this function) 2 | visit[start] = 1; | ^~~~~ Main.c:2:5: note: each undeclared identifier is reported only once for each function it appears in Main.c:3:5: error: ‘dist’ undeclared (first use in this function) 3 | dist[start] = 0; | ^~~~ Main.c:4:5: warning: implicit declaration of function ‘enque’ [-Wimplicit-function-declaration] 4 | enque(start); | ^~~~~ Main.c:6:12: error: ‘head’ undeclared (first use in this function) 6 | while (head < tail) { | ^~~~ Main.c:6:19: error: ‘tail’ undeclared (first use in this function) 6 | while (head < tail) { | ^~~~ Main.c:7:9: error: unknown type name ‘point’; did you mean ‘int’? 7 | point current = deque(); | ^~~~~ | int Main.c:7:25: warning: implicit declaration of function ‘deque’ [-Wimplicit-function-declaration] 7 | point current = deque(); | ^~~~~ Main.c:8:24: error: request for member ‘x’ in something not a structure or union 8 | int x = current.x; | ^ Main.c:13:17: error: ‘map’ undeclared (first use in this function) 13 | if (map[x][i] == 1 && !visit[i]) { | ^~~ Main.c:7:15: warning: variable ‘current’ set but not used [-Wunused-but-set-variable] 7 | point current = deque(); | ^~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.