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:68:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for(auto i=0;i<vertice_num;i++){
                  ~^~~~~~~~~~~~
/in/shortestP2P.hpp:71:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for(auto i=0;i<vertice_num; i++){
                  ~^~~~~~~~~~~~
/in/shortestP2P.hpp:72:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for(auto j=0;j<vertice_num; j++){
                      ~^~~~~~~~~~~~
/in/shortestP2P.hpp:78:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for(auto i=0;i<edge_num; i++){
                  ~^~~~~~~~~
/in/shortestP2P.hpp:82:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for(auto k=0;k<vertice_num; k++){
                  ~^~~~~~~~~~~~
/in/shortestP2P.hpp:83:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for(auto i=0;i<vertice_num; i++){
                      ~^~~~~~~~~~~~
/in/shortestP2P.hpp:84:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
             for(auto j=0;j<vertice_num; j++){
                          ~^~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Information

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