실행 실패 (제출 코드 컴파일 에러)
Main.cpp:5:9: error: extended character is not valid in an identifier 5 | #define INF 5e9 | ^ Main.cpp: In function ‘void Dijkstra(int)’: Main.cpp:27:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 27 | for (int i = 0; i < v[currentNode].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:46:28: error: ‘INF’ was not declared in this scope 46 | dist.resize(50001, INF); | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.