0_0_17315517_30792.cpp: In member function 'void Dijkstra::dijkstra(int)':
0_0_17315517_30792.cpp:46:62: error: 'pb_ds' was not declared in this scope
__gnu_pbds::priority_queue<HeapNode, less<HeapNode>, pb_ds::pairing_heap_tag, allocator<char> > Q;
^
0_0_17315517_30792.cpp:46:103: error: template argument 3 is invalid
__gnu_pbds::priority_queue<HeapNode, less<HeapNode>, pb_ds::pairing_heap_tag, allocator<char> > Q;
^
0_0_17315517_30792.cpp:46:106: error: invalid type in declaration before ';' token
__gnu_pbds::priority_queue<HeapNode, less<HeapNode>, pb_ds::pairing_heap_tag, allocator<char> > Q;
^
0_0_17315517_30792.cpp:53:11: error: request for member 'push' in 'Q', which is of non-class type 'int'
Q.push(make_pair(0, s));
^
0_0_17315517_30792.cpp:54:19: error: request for member 'empty' in 'Q', which is of non-class type 'int'
while (!Q.empty())
^
0_0_17315517_30792.cpp:56:28: error: request for member 'top' in 'Q', which is of non-class type 'int'
HeapNode x = Q.top();
^
0_0_17315517_30792.cpp:57:15: error: request for member 'pop' in 'Q', which is of non-class type 'int'
Q.pop();
^
0_0_17315517_30792.cpp:69:23: error: request for member 'push' in 'Q', which is of non-class type 'int'
Q.push(make_pair(d[e.to], e.to));
^
|