Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.hpp:46:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for (int k = 0; k <node ; ++k) {
                           ~~^~~~~
/in/shortestP2P.hpp:50:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for (int i = 0; i <node ; ++i) {
                           ~~^~~~~
/in/shortestP2P.hpp:51:33: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
               for (int j = 0; j <node ; ++j) {
                               ~~^~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4: Shortest Path
Language
C++
Submit At
2023-12-15 22:33:09
Judged At
2023-12-15 22:33:09
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes