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:21:18: error: 'numEdges' is used uninitialized in this function [-Werror=uninitialized]
     std::cout << numEdges << std::endl;
                  ^~~~~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-12-15 01:04:42
Judged At
2024-12-15 01:04:42
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes