Problem | mrt |
---|---|
User | TheInvadr |
Submission Time | 2023-03-07 19:44:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘std::vector<int> dikstra(int)’:
mrt.cpp:17:29: error: ‘class std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >’ has no member named ‘front’
17 | pair<int,int> p = q.front();
| ^~~~~
mrt.cpp: In function ‘int main()’:
mrt.cpp:48:12: error: ‘dis’ was not declared in this scope; did you mean ‘dist’?
48 | if(dis[s][e]==INT_MAX){
| ^~~
| dist