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_25725071_2815.cpp: In member function 'void Splay::Dfs(int, bool&)':
0_0_25725071_2815.cpp:142:36: error: no matching function for call to 'Splay::Dfs(int&)'
         if(son[x][0]) Dfs(son[x][0]);
                                    ^
0_0_25725071_2815.cpp:142:36: note: candidate is:
0_0_25725071_2815.cpp:139:10: note: void Splay::Dfs(int, bool&)
     void Dfs(int x, bool& __){
          ^
0_0_25725071_2815.cpp:139:10: note:   candidate expects 2 arguments, 1 provided
0_0_25725071_2815.cpp:148:36: error: no matching function for call to 'Splay::Dfs(int&)'
         if(son[x][1]) Dfs(son[x][1]);
                                    ^
0_0_25725071_2815.cpp:148:36: note: candidate is:
0_0_25725071_2815.cpp:139:10: note: void Splay::Dfs(int, bool&)
     void Dfs(int x, bool& __){
          ^
0_0_25725071_2815.cpp:139:10: note:   candidate expects 2 arguments, 1 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-10-01 23:44:55, Gzip enabled