0_0_36693995_2397.cpp:29:2: error: 'vector' does not name a type
vector<Node>mp[MAXN];
^
0_0_36693995_2397.cpp: In function 'void SPFA(int, int)':
0_0_36693995_2397.cpp:39:6: error: 'queue' was not declared in this scope
queue<int>Q;
^
0_0_36693995_2397.cpp:39:6: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_36693995_2397.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note: 'std::queue'
class queue
^
0_0_36693995_2397.cpp:39:12: error: expected primary-expression before 'int'
queue<int>Q;
^
0_0_36693995_2397.cpp:40:6: error: 'Q' was not declared in this scope
Q.push(u);
^
0_0_36693995_2397.cpp:45:24: error: 'mp' was not declared in this scope
for(int i=0;i<mp[u].size();i++){
^
0_0_36693995_2397.cpp: In function 'int main()':
0_0_36693995_2397.cpp:67:31: error: 'mp' was not declared in this scope
for(int i=1;i<=n;i++)mp[i].clear();
^
0_0_36693995_2397.cpp:76:14: error: 'mp' was not declared in this scope
mp[u].push_back(p2);
^
|