Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp:7:13: error: extra tokens at end of #ifndef directive [-Werror]
 #ifndef INF INT_MAX
             ^~~~~~~
cc1plus: all warnings being treated as errors
In file included from /in/shortestP2P.cc:1:0:
/in/shortestP2P.hpp:7:13: error: extra tokens at end of #ifndef directive [-Werror]
 #ifndef INF INT_MAX
             ^~~~~~~
/in/shortestP2P.cc: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.cc:60:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
         if (d[i][k]==INF)
         ^~
/in/shortestP2P.cc:62:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
           for (int j = 0; j < vertices; j++)
           ^~~
cc1plus: all warnings being treated as errors

Information

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