실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:18:16: error: invalid use of member function ‘bool std::priority_queue<_Tp, _Sequence, _Compare>::empty() const [with _Tp = long long int; _Sequence = std::vector<long long int>; _Compare = std::greater<long long int>]’ (did you forget the ‘()’ ?) 18 | if (pq.empty && dist < V[i].first) dist = V[i].first; | ~~~^~~~~ | ()
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.