0_0_23232880_29262.cpp: In member function 'int Solution::IsSolvePushBoxProblem()':
0_0_23232880_29262.cpp:107:75: error: no matching function for call to 'Node::Node(int&, int&, int, Node*&, int&)'
Node* NewNode = new Node(NewR, NewC, Current->stepCount+1, Current,i);
^
0_0_23232880_29262.cpp:107:75: note: candidates are:
0_0_23232880_29262.cpp:26:3: note: Node::Node(int, int, int, Node*)
Node(int _row, int _column,int _stepCount = 0,Node* _previousNode = NULL)
^
0_0_23232880_29262.cpp:26:3: note: candidate expects 4 arguments, 5 provided
0_0_23232880_29262.cpp:22:3: note: Node::Node()
Node():row(0),column(0),stepCount(0),PreviousNode(NULL)
^
0_0_23232880_29262.cpp:22:3: note: candidate expects 0 arguments, 5 provided
0_0_23232880_29262.cpp:17:8: note: constexpr Node::Node(const Node&)
class Node
^
0_0_23232880_29262.cpp:17:8: note: candidate expects 1 argument, 5 provided
0_0_23232880_29262.cpp:17:8: note: constexpr Node::Node(Node&&)
0_0_23232880_29262.cpp:17:8: note: candidate expects 1 argument, 5 provided
|