Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp:89:5: error: 'unordered_map' does not name a type
     unordered_map<int, vector<int>> memo;
     ^~~~~~~~~~~~~
/in/shortestP2P.hpp: In member function 'void ShortestP2P::distance(unsigned int, unsigned int)':
/in/shortestP2P.hpp:72:13: error: 'memo' was not declared in this scope
         if (memo.find(A) == memo.end()) {
             ^~~~
/in/shortestP2P.hpp:76:29: error: 'memo' was not declared in this scope
         vector<int>& dist = memo[A];
                             ^~~~

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-12-19 23:33:19
Judged At
2024-12-19 23:33:19
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes