0_0_36706006_26099.cpp:54:16: error: 'kdq' was not declared in this scope
priority_queue<kdq>qe ;
^
0_0_36706006_26099.cpp:54:19: error: template argument 1 is invalid
priority_queue<kdq>qe ;
^
0_0_36706006_26099.cpp:54:19: error: template argument 2 is invalid
0_0_36706006_26099.cpp:54:19: error: template argument 3 is invalid
0_0_36706006_26099.cpp:54:23: error: invalid type in declaration before ';' token
priority_queue<kdq>qe ;
^
0_0_36706006_26099.cpp: In function 'void Prim()':
0_0_36706006_26099.cpp:73:11: error: request for member 'empty' in 'qe', which is of non-class type 'int'
while(!qe.empty())qe.pop() ;
^
0_0_36706006_26099.cpp:73:22: error: request for member 'pop' in 'qe', which is of non-class type 'int'
while(!qe.empty())qe.pop() ;
^
0_0_36706006_26099.cpp:74:82: error: request for member 'push' in 'qe', which is of non-class type 'int'
for (int i = 0 ; i < n ; i ++ )dis[i] = Map[0][i] , vis[i] = 0 ,G[i].clear() ,qe.push((kdq){0 , i , dis[i]}) ;
^
0_0_36706006_26099.cpp:76:11: error: request for member 'empty' in 'qe', which is of non-class type 'int'
while(!qe.empty()){
^
0_0_36706006_26099.cpp:77:13: error: request for member 'top' in 'qe', which is of non-class type 'int'
kdq tp = qe.top() ; qe.pop() ;
^
0_0_36706006_26099.cpp:77:24: error: request for member 'pop' in 'qe', which is of non-class type 'int'
kdq tp = qe.top() ; qe.pop() ;
^
0_0_36706006_26099.cpp:84:95: error: request for member 'push' in 'qe', which is of non-class type 'int'
for (int i = 0 ; i < n ; i ++ )if(!vis[i] && dis[i] > Map[tp.e][i])dis[i] = Map[tp.e][i] , qe.push((kdq){tp.e , i , dis[i]}) ;
^
|