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:44:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for(int i = 0; i < Y; i++){
                          ~~^~~
/in/shortestP2P.hpp:50:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for(int i = 0; i < X; i++){
                          ~~^~~
/in/shortestP2P.hpp:53:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for(int k = 0; k < X; k++){
                          ~~^~~
/in/shortestP2P.hpp:54:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
               for(int i = 0; i < X; i++){
                              ~~^~~
/in/shortestP2P.hpp:55:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                   for(int j = 0; j < X; j++){
                                  ~~^~~
/in/shortestP2P.hpp:62:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for(int i = 0; i < X; i++){
                          ~~^~~
cc1plus: all warnings being treated as errors

Information

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