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:84:25: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
                         if (sg[i][k]!=INF && sg[k][i]!=INF)
                         ^~
/in/shortestP2P.hpp:86:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                             if (sg[i][i]<0){
                             ^~
cc1plus: all warnings being treated as errors

Information

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