실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void dijkstra(int)’: Main.cpp:30: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] 30 | for (int i = 0; i < v[node2].size(); i++) | ~~^~~~~~~~~~~~~~~~~ Main.cpp:32:31: error: ‘current_node’ was not declared in this scope 32 | int next_node = v[current_node][i].first; | ^~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.