Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'int ShortestP2P::dijkstra(unsigned int, unsigned int)':
/in/shortestP2P.hpp:85:37: error: unused variable 'currentDistance' [-Werror=unused-variable]
             auto [currentDistance, u] = pq.top();
                                     ^
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-12-16 19:15:05
Judged At
2024-12-16 19:15:05
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes