0_0_22801277_9739.cpp: In constructor 'Node::Node(ll, ll, ll)':
0_0_22801277_9739.cpp:22:9: error: 'st' was not declared in this scope
st = zz;
^
0_0_22801277_9739.cpp: In function 'int main()':
0_0_22801277_9739.cpp:49:32: error: no matching function for call to 'Node::Node(ll&, int)'
q.push(Node(i,0));
^
0_0_22801277_9739.cpp:49:32: note: candidates are:
0_0_22801277_9739.cpp:19:5: note: Node::Node(ll, ll, ll)
Node(ll p,ll s,ll zz){
^
0_0_22801277_9739.cpp:19:5: note: candidate expects 3 arguments, 2 provided
0_0_22801277_9739.cpp:16:5: note: Node::Node()
Node() {
^
0_0_22801277_9739.cpp:16:5: note: candidate expects 0 arguments, 2 provided
0_0_22801277_9739.cpp:14:8: note: constexpr Node::Node(const Node&)
struct Node{
^
0_0_22801277_9739.cpp:14:8: note: candidate expects 1 argument, 2 provided
0_0_22801277_9739.cpp:14:8: note: constexpr Node::Node(Node&&)
0_0_22801277_9739.cpp:14:8: note: candidate expects 1 argument, 2 provided
0_0_22801277_9739.cpp:63:43: error: 'struct Node' has no member named 'st'
q.push(Node(nex,nstep,tmp.st));
^
|