Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In constructor 'ShortestP2P::ShortestP2P()':
/in/shortestP2P.hpp:105:18: error: 'ShortestP2P::V' will be initialized after [-Werror=reorder]
     unsigned int V;
                  ^
/in/shortestP2P.hpp:104:11: error:   'int** ShortestP2P::dist' [-Werror=reorder]
     int **dist;
           ^~~~
In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp:14:9: error:   when initialized here [-Werror=reorder]
         ShortestP2P(): V(0), dist(nullptr) {}
         ^~~~~~~~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-08-09 16:28:48
Judged At
2024-08-09 16:28:48
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes