실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:89:17: error: ‘memset’ was not declared in this scope 89 | memset(visited, false, sizeof(visited)); | ^~~~~~ Main.cpp:4:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 3 | #include <queue> +++ |+#include <cstring> 4 | using namespace std; Main.cpp: In function ‘std::string bfs(int, int)’: Main.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type] 78 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.