Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::testInvalid()':
/in/shortestP2P.hpp:123:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int i = 0; i < _num; ++i) {
                         ~~^~~~~~
/in/shortestP2P.hpp:124:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
             if (i == c) continue;
                 ~~^~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4: Shortest Path
Language
C++
Submit At
2022-12-11 19:58:24
Judged At
2022-12-11 19:58:24
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes