0_0_14876629_10164.cpp:16:3: error: no matching function for call to 'node::node()'
} st,en;
^
0_0_14876629_10164.cpp:16:3: note: candidates are:
0_0_14876629_10164.cpp:15:2: note: node::node(int, int, int, int)
node(int q,int w,int e,int r): x(q),y(w),xx(e),yy(r){}
^
0_0_14876629_10164.cpp:15:2: note: candidate expects 4 arguments, 0 provided
0_0_14876629_10164.cpp:13:8: note: constexpr node::node(const node&)
struct node{
^
0_0_14876629_10164.cpp:13:8: note: candidate expects 1 argument, 0 provided
0_0_14876629_10164.cpp:13:8: note: constexpr node::node(node&&)
0_0_14876629_10164.cpp:13:8: note: candidate expects 1 argument, 0 provided
0_0_14876629_10164.cpp:16:6: error: no matching function for call to 'node::node()'
} st,en;
^
0_0_14876629_10164.cpp:16:6: note: candidates are:
0_0_14876629_10164.cpp:15:2: note: node::node(int, int, int, int)
node(int q,int w,int e,int r): x(q),y(w),xx(e),yy(r){}
^
0_0_14876629_10164.cpp:15:2: note: candidate expects 4 arguments, 0 provided
0_0_14876629_10164.cpp:13:8: note: constexpr node::node(const node&)
struct node{
^
0_0_14876629_10164.cpp:13:8: note: candidate expects 1 argument, 0 provided
0_0_14876629_10164.cpp:13:8: note: constexpr node::node(node&&)
0_0_14876629_10164.cpp:13:8: note: candidate expects 1 argument, 0 provided
0_0_14876629_10164.cpp: In function 'void bfs()':
0_0_14876629_10164.cpp:26:50: error: lvalue required as left operand of assignment
if(tmp.x=en.x&&tmp.y=en.y&&tmp.xx=en.xx&&tmp.yy=en.yy)
^
0_0_14876629_10164.cpp:28:36: error: 'prints' was not declared in this scope
prints(tmp.x,tmp.y,tmp.xx,tmp.yy);
^
0_0_14876629_10164.cpp:37:12: error: 'di' was not declared in this scope
nex.x+=di[i][0];
^
0_0_14876629_10164.cpp:42:13: error: 'di' was not declared in this scope
nex.xx+=di[i][0];
^
0_0_14876629_10164.cpp:45:7: error: expected primary-expression before ')' token
if()
^
0_0_14876629_10164.cpp:46:3: error: expected primary-expression before '}' token
}
^
0_0_14876629_10164.cpp: In function 'int main()':
0_0_14876629_10164.cpp:92:5: error: 'i' was not declared in this scope
if(i==1) continue;
^
0_0_14876629_10164.cpp:92:11: error: continue statement not within a loop
if(i==1) continue;
^
|