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_30903701_32626.cpp: In function 'int Find(int, int*, int*)':
0_0_30903701_32626.cpp:12:28: error: too few arguments to function 'int Find(int, int*, int*)'
         int t = Find(pre[x]);
                            ^
0_0_30903701_32626.cpp:6:5: note: declared here
 int Find(int x, int *pre, int *under)
     ^
0_0_30903701_32626.cpp: In function 'void join(int, int, int*, int*, int*)':
0_0_30903701_32626.cpp:21:19: error: too few arguments to function 'int Find(int, int*, int*)'
     int a = Find(x), b = Find(y);
                   ^
0_0_30903701_32626.cpp:6:5: note: declared here
 int Find(int x, int *pre, int *under)
     ^
0_0_30903701_32626.cpp:22:14: error: 'b' was not declared in this scope
     if (a != b)
              ^


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 00:35:55, Gzip enabled