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:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for (int i = 0; i < vertices * vertices; i++) {
                           ~~^~~~~~~~~~~~~~~~~~~~~
/in/shortestP2P.hpp:54:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
           for (int i = 0; i < edges; i++) {
                           ~~^~~~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4: Shortest Path
Language
C++
Submit At
2022-12-05 00:37:14
Judged At
2022-12-05 00:37:14
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes