Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::findMinDist()':
/in/shortestP2P.hpp:84:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (unsigned int k = 0; k < VNum; k++) {
                                  ~~^~~~~~
/in/shortestP2P.hpp:85:40: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
             for (unsigned int i = 0; i < VNum; i++) {
                                      ~~^~~~~~
/in/shortestP2P.hpp:86:44: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                 for (unsigned int j = 0; j < VNum; j++) {
                                          ~~^~~~~~
cc1plus: all warnings being treated as errors

Information

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