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:57:29: error: 'password' was not declared in this scope
       for(int i=0;i<=strlen(password)-1;i++){
                             ^~~~~~~~
/in/shortestP2P.hpp:57:22: error: 'strlen' was not declared in this scope
       for(int i=0;i<=strlen(password)-1;i++){
                      ^~~~~~
/in/shortestP2P.hpp:57:22: note: suggested alternative: 'mbrlen'
       for(int i=0;i<=strlen(password)-1;i++){
                      ^~~~~~
                      mbrlen
/in/shortestP2P.hpp:70:15: error: return-statement with a value, in function returning 'void' [-fpermissive]
        return false;
               ^~~~~
/in/shortestP2P.hpp:73:14: error: return-statement with a value, in function returning 'void' [-fpermissive]
       return true;
              ^~~~

Information

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