Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::distance(unsigned int, unsigned int)':
/in/shortestP2P.hpp:92:7: error: 'dist' was not declared in this scope
   if (dist[A][B] == INF) cout<< "INF" << endl;
       ^~~~
/in/shortestP2P.hpp:92:7: note: suggested alternative: 'div'
   if (dist[A][B] == INF) cout<< "INF" << endl;
       ^~~~
       div

Information

Submit By
Type
Submission
Homework
Project 4: Shortest Path
Language
C++
Submit At
2022-12-12 01:22:44
Judged At
2022-12-12 01:22:44
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes