Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp:53:5: error: invalid use of destructor '~ShortestP2P' as a type
     ~ShortestP2P=default;
     ^
In file included from /in/shortestP2P.cc:1:0:
/in/shortestP2P.hpp:53:5: error: invalid use of destructor '~ShortestP2P' as a type
     ~ShortestP2P=default;
     ^
/in/shortestP2P.cc:15:1: error: redefinition of 'ShortestP2P::ShortestP2P()'
 ShortestP2P::ShortestP2P() = default;
 ^~~~~~~~~~~
In file included from /in/shortestP2P.cc:1:0:
/in/shortestP2P.hpp:16:7: note: 'ShortestP2P::ShortestP2P()' previously defined here
       ShortestP2P() {}
       ^~~~~~~~~~~

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2021-12-14 22:08:24
Judged At
2021-12-14 22:08:24
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes