Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp:57:28: error: expected '}' before ';' token
       array.resize(numNode);
                            ^
/in/shortestP2P.hpp:57:28: error: could not convert '{((ShortestP2P*)this)->ShortestP2P::array.std::vector<std::vector<int> >::resize(((std::vector<std::vector<int> >::size_type)((ShortestP2P*)this)->ShortestP2P::numNode))}' from '<brace-enclosed initializer list>' to 'std::vector<std::vector<int> >'
/in/shortestP2P.hpp:57:28: error: expected ';' before ';' token
In file included from /in/shortestP2P.cc:1:0:
/in/shortestP2P.hpp:57:28: error: expected '}' before ';' token
       array.resize(numNode);
                            ^
/in/shortestP2P.hpp:57:28: error: could not convert '{((ShortestP2P*)this)->ShortestP2P::array.std::vector<std::vector<int> >::resize(((std::vector<std::vector<int> >::size_type)((ShortestP2P*)this)->ShortestP2P::numNode))}' from '<brace-enclosed initializer list>' to 'std::vector<std::vector<int> >'
/in/shortestP2P.hpp:57:28: error: expected ';' before ';' token

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2021-12-11 21:47:32
Judged At
2021-12-11 21:47:32
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes