Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::update_for_i(unsigned int)':
/in/shortestP2P.hpp:152:33: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
       for(unsigned int a = 0; a < node_num; a++) {
                               ~~^~~~~~~~~~
/in/shortestP2P.hpp:154:37: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for(unsigned int b = 0; b < node_num; b++) {
                                   ~~^~~~~~~~~~
cc1plus: all warnings being treated as errors

Information

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