0_0_29826034_24123.cpp: In function 'int main()':
0_0_29826034_24123.cpp:151:9: error: '__gnu_pbds' has not been declared
__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag> q;
^
0_0_29826034_24123.cpp:151:40: error: expected primary-expression before ',' token
__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag> q;
^
0_0_29826034_24123.cpp:151:54: error: expected primary-expression before ',' token
__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag> q;
^
0_0_29826034_24123.cpp:151:55: error: '__gnu_pbds' has not been declared
__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag> q;
^
0_0_29826034_24123.cpp:151:85: error: 'q' was not declared in this scope
__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag> q;
^
0_0_29826034_24123.cpp:152:16: error: '__gnu_pbds' was not declared in this scope
vector<__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag>::point_iterator> pit(n+1);
^
0_0_29826034_24123.cpp:152:107: error: template argument 1 is invalid
vector<__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag>::point_iterator> pit(n+1);
^
0_0_29826034_24123.cpp:152:107: error: template argument 2 is invalid
0_0_29826034_24123.cpp:152:112: error: invalid type in declaration before '(' token
vector<__gnu_pbds::priority_queue<edge,greater<edge>,__gnu_pbds::pairing_heap_tag>::point_iterator> pit(n+1);
^
0_0_29826034_24123.cpp:157:14: error: invalid types 'int[int]' for array subscript
pit[s]=q.push(edge(s,0LL));
^
0_0_29826034_24123.cpp:175:43: error: invalid types 'int[int]' for array subscript
if(pit[gr.g[minp][i].r]!=0)
^
0_0_29826034_24123.cpp:177:53: error: invalid types 'int[int]' for array subscript
q.modify(pit[gr.g[minp][i].r],edge(gr.g[minp][i].r,ans[gr.g[minp][i].r]));
^
0_0_29826034_24123.cpp:181:44: error: invalid types 'int[int]' for array subscript
pit[gr.g[minp][i].r]=q.push(edge(gr.g[minp][i].r,ans[gr.g[minp][i].r]));
^
|