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_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));
                                           ^


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-30 00:24:40, Gzip enabled