Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::dijkstra(unsigned int, std::vector<int>&)':
/in/shortestP2P.hpp:92:5: error: 'priority_queue' was not declared in this scope
     priority_queue<pair<int, unsigned int>, vector<pair<int, unsigned int>>, greater<pair<int, unsigned int>>> minHeap;
     ^~~~~~~~~~~~~~
/in/shortestP2P.hpp:92:43: error: expected primary-expression before ',' token
     priority_queue<pair<int, unsigned int>, vector<pair<int, unsigned int>>, greater<pair<int, unsigned int>>> minHeap;
                                           ^
/in/shortestP2P.hpp:92:76: error: expected primary-expression before ',' token
     priority_queue<pair<int, unsigned int>, vector<pair<int, unsigned int>>, greater<pair<int, unsigned int>>> minHeap;
                                                                            ^
/in/shortestP2P.hpp:92:110: error: expected primary-expression before '>' token
     priority_queue<pair<int, unsigned int>, vector<pair<int, unsigned int>>, greater<pair<int, unsigned int>>> minHeap;
                                                                                                              ^
/in/shortestP2P.hpp:92:112: error: 'minHeap' was not declared in this scope
     priority_queue<pair<int, unsigned int>, vector<pair<int, unsigned int>>, greater<pair<int, unsigned int>>> minHeap;
                                                                                                                ^~~~~~~

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-08-08 20:23:56
Judged At
2024-08-08 20:23:56
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes