실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int Dijkstra(int, int)’: Main.cpp:14:5: error: ‘memset’ was not declared in this scope 14 | memset(dist, INF, sizeof(dist)); | ^~~~~~ Main.cpp:4:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 3 | #include <stack> +++ |+#include <cstring> 4 | #include <vector> Main.cpp:25:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 25 | for (int i = 0; i < bus[now].size(); i++) { | ~~^~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.