0_0_15527295_1381.cpp: In function 'void Dijkstra(int, int)':
0_0_15527295_1381.cpp:33:29: error: no matching function for call to 'qnode::qnode(int&, int, int)'
que.push(qnode(start,0,0));
^
0_0_15527295_1381.cpp:33:29: note: candidates are:
0_0_15527295_1381.cpp:17:5: note: qnode::qnode(int, int)
qnode(int _v=0,int _c=0):v(_v),c(_c){}
^
0_0_15527295_1381.cpp:17:5: note: candidate expects 2 arguments, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(const qnode&)
struct qnode
^
0_0_15527295_1381.cpp:13:8: note: candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(qnode&&)
0_0_15527295_1381.cpp:13:8: note: candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp: In function 'void Dijkstra1(int, int)':
0_0_15527295_1381.cpp:61:29: error: no matching function for call to 'qnode::qnode(int&, int, int)'
que.push(qnode(start,0,0));
^
0_0_15527295_1381.cpp:61:29: note: candidates are:
0_0_15527295_1381.cpp:17:5: note: qnode::qnode(int, int)
qnode(int _v=0,int _c=0):v(_v),c(_c){}
^
0_0_15527295_1381.cpp:17:5: note: candidate expects 2 arguments, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(const qnode&)
struct qnode
^
0_0_15527295_1381.cpp:13:8: note: candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(qnode&&)
0_0_15527295_1381.cpp:13:8: note: candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp:68:20: error: 'struct qnode' has no member named 'flag'
int gg=tmp.flag+1;
^
|