실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int FindPath(int, int, const std::vector<Node*>&)’: Main.cpp:18:33: error: ‘INT_MAX’ was not declared in this scope 18 | vector<int> dist(n + 1, INT_MAX); // 거리를 무한대로 초기화 | ^~~~~~~ Main.cpp:5:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? 4 | #include <limits> +++ |+#include <climits> 5 | using namespace std; Main.cpp:16:13: warning: unused variable ‘cost’ [-Wunused-variable] 16 | int cost = 0; | ^~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.