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:43:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int i = 0; i<V; ++i) {
                         ~^~
/in/shortestP2P.hpp:46:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int i = 0; i<M; ++i) {
                         ~^~
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::hasNegativeCycle()':
/in/shortestP2P.hpp:90:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int i = 0; i < V; ++i) {
                         ~~^~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-08-08 18:56:16
Judged At
2024-08-08 18:56:16
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes