0_0_29299839_26460.cpp:16:32: error: 'c' is not a type
qnode(int _v=0,int _c=0:v(_v),c(_c)){}
^
0_0_29299839_26460.cpp:16:36: error: redefinition of 'int _c'
qnode(int _v=0,int _c=0:v(_v),c(_c)){}
^
0_0_29299839_26460.cpp:16:30: note: 'int _c' previously declared here
qnode(int _v=0,int _c=0:v(_v),c(_c)){}
^
0_0_29299839_26460.cpp:16:25: error: expected ',' before ':' token
qnode(int _v=0,int _c=0:v(_v),c(_c)){}
^
0_0_29299839_26460.cpp:24:42: error: 'a' is not a type
edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
^
0_0_29299839_26460.cpp:24:46: error: redefinition of 'int _a'
edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
^
0_0_29299839_26460.cpp:24:23: note: 'int _a' previously declared here
edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
^
0_0_29299839_26460.cpp:24:48: error: 'Min' is not a type
edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
^
0_0_29299839_26460.cpp:24:56: error: redefinition of 'int _Min'
edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
^
0_0_29299839_26460.cpp:24:40: note: 'int _Min' previously declared here
edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
^
0_0_29299839_26460.cpp:24:35: error: expected ',' before ':' token
edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
^
0_0_29299839_26460.cpp: In function 'void dij(int, int)':
0_0_29299839_26460.cpp:37:25: error: statement cannot resolve address of overloaded function
while(!q.empty()) q.pop;
^
|