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_14810765_19670.cpp: In function 'int Union(int, int)':
0_0_14810765_19670.cpp:55:8: error: request for member 'id' in 'a', which is of non-class type 'int'
  }if(a.id<b.id)
        ^
0_0_14810765_19670.cpp:55:13: error: request for member 'id' in 'b', which is of non-class type 'int'
  }if(a.id<b.id)
             ^
0_0_14810765_19670.cpp: In function 'bool cmp2(qury, qury)':
0_0_14810765_19670.cpp:67:14: error: 'struct qury' has no member named 'lim'
     return a.lim<b.lim;
              ^
0_0_14810765_19670.cpp:67:20: error: 'struct qury' has no member named 'lim'
     return a.lim<b.lim;
                    ^
0_0_14810765_19670.cpp: In function 'int main()':
0_0_14810765_19670.cpp:97:5: error: 'fa1' was not declared in this scope
     fa1=Find(e[pos].u),fa2=Find(e[pos].v);
     ^
0_0_14810765_19670.cpp:97:24: error: 'fa2' was not declared in this scope
     fa1=Find(e[pos].u),fa2=Find(e[pos].v);
                        ^


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 21:29:34, Gzip enabled