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:98:35: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
             if (!visited[j] && (u == -1 || dist[j] < dist[u])) {
                                 ~~^~~~~
cc1plus: all warnings being treated as errors

Information

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