Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::check_invalid(unsigned int)':
/in/shortestP2P.hpp:131:27: error: qualified-id in declaration before '(' token
 void ShortestP2P::distance(uint A, uint B) {
                           ^
/in/driver/main.cpp:5:13: error: a function-definition is not allowed here before '{' token
 int main () {
             ^
/in/driver/main.cpp:18:1: error: expected '}' at end of input
 }
 ^
/in/driver/main.cpp:18:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4: Shortest Path
Language
C++
Submit At
2023-12-15 22:40:45
Judged At
2023-12-15 22:40:45
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes