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_25573857_8823.cpp: In function 'bool join(int, int, int)':
0_0_25573857_8823.cpp:71:21: error: 'findfat' was not declared in this scope
     int ra=findfat(a),rb=findfat(b);
                     ^
0_0_25573857_8823.cpp:72:12: error: 'rb' was not declared in this scope
     if(ra==rb)
            ^
0_0_25573857_8823.cpp:77:23: error: 'rb' was not declared in this scope
     if(ra==n) swap(ra,rb);
                       ^
0_0_25573857_8823.cpp:78:13: error: 'rb' was not declared in this scope
     fat[ra]=rb;
             ^
0_0_25573857_8823.cpp: In function 'int Query(int)':
0_0_25573857_8823.cpp:103:30: error: 'findfat' was not declared in this scope
         int root=findfat(k[i]);
                              ^
0_0_25573857_8823.cpp: In function 'int main()':
0_0_25573857_8823.cpp:150:34: error: 'findfat' was not declared in this scope
                         findfat(p);
                                  ^
0_0_25573857_8823.cpp:159:34: error: 'findfat' was not declared in this scope
                         findfat(p);
                                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 14:05:09, Gzip enabled