F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 11:10:00, Gzip enabled