실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘bool bfs()’: Main.cpp:15:3: error: ‘memset’ was not declared in this scope 15 | memset(level,0,sizeof(level)); | ^~~~~~ Main.cpp:6:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 5 | #include <queue> +++ |+#include <cstring> 6 | using namespace std; Main.cpp: In function ‘int main()’: Main.cpp:47:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | scanf("%lld",&N); | ~~~~~^~~~~~~~~~~ Main.cpp:51:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 51 | scanf("%s %s %lld",a,b,&c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.