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:51:32: error: 'temp' was not declared in this scope
           adj_matrix.push_back(temp);
                                ^~~~
/in/shortestP2P.hpp:51:32: note: suggested alternative: 'mktemp'
           adj_matrix.push_back(temp);
                                ^~~~
                                mktemp
/in/shortestP2P.hpp:58:16: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
       if (isnon=3){
           ~~~~~^~
/in/shortestP2P.hpp:61:21: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
       else if (isalp=2){
                ~~~~~^~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4: Shortest Path
Language
C++
Submit At
2022-12-11 18:30:09
Judged At
2022-12-11 18:30:09
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes