0_0_35088676_19785.cpp:52:16: error: 'kdq' was not declared in this scope
priority_queue<kdq>qe ;
^
0_0_35088676_19785.cpp:52:19: error: template argument 1 is invalid
priority_queue<kdq>qe ;
^
0_0_35088676_19785.cpp:52:19: error: template argument 2 is invalid
0_0_35088676_19785.cpp:52:19: error: template argument 3 is invalid
0_0_35088676_19785.cpp:52:23: error: invalid type in declaration before ';' token
priority_queue<kdq>qe ;
^
0_0_35088676_19785.cpp: In function 'void Prim()':
0_0_35088676_19785.cpp:71:15: error: request for member 'empty' in 'qe', which is of non-class type 'int'
while(!qe.empty())qe.pop() ;
^
0_0_35088676_19785.cpp:71:26: error: request for member 'pop' in 'qe', which is of non-class type 'int'
while(!qe.empty())qe.pop() ;
^
0_0_35088676_19785.cpp:72:86: 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_35088676_19785.cpp:74:15: error: request for member 'empty' in 'qe', which is of non-class type 'int'
while(!qe.empty()){
^
0_0_35088676_19785.cpp:75:21: error: request for member 'top' in 'qe', which is of non-class type 'int'
kdq tp = qe.top() ; qe.pop() ;
^
0_0_35088676_19785.cpp:75:32: error: request for member 'pop' in 'qe', which is of non-class type 'int'
kdq tp = qe.top() ; qe.pop() ;
^
0_0_35088676_19785.cpp:82:103: 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]}) ;
^
|