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_26381425_19436.cpp: In function 'll dfs3(int, int, int&)':
0_0_26381425_19436.cpp:63:31: error: too few arguments to function 'll dfs3(int, int, int&)'
             tmp = dfs3(to[i],x);
                               ^
0_0_26381425_19436.cpp:51:4: note: declared here
 ll dfs3(int x,int frm,int &fl)
    ^
0_0_26381425_19436.cpp: In function 'int main()':
0_0_26381425_19436.cpp:80:9: error: 'fl' was not declared in this scope
         fl = 0;
         ^
0_0_26381425_19436.cpp:96:22: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
         dfs3(b[1],0,1);
                      ^
0_0_26381425_19436.cpp:51:4: note: in passing argument 3 of 'll dfs3(int, int, int&)'
 ll dfs3(int x,int frm,int &fl)
    ^


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-07-05 18:01:10, Gzip enabled