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_33787264_5601.cpp: In function 'int main()':
0_0_33787264_5601.cpp:70:13: error: 'T' was not declared in this scope
             T[i] = i, Head[i] = Size[i] = 0;
             ^
0_0_33787264_5601.cpp:84:26: error: 'T' was not declared in this scope
                 int &u = T[x], &v = T[y];
                          ^
0_0_33787264_5601.cpp:85:26: error: 'v' was not declared in this scope
                 if (u == v) continue ;
                          ^
0_0_33787264_5601.cpp:86:36: error: 'v' was not declared in this scope
                 if (Size[u] > Size[v]) swap(u, v);
                                    ^
0_0_33787264_5601.cpp:92:33: error: 'v' was not declared in this scope
                     Modify(tmp, v, s);
                                 ^
0_0_33787264_5601.cpp:97:30: error: 'v' was not declared in this scope
                     A[tmp] = v;
                              ^
0_0_33787264_5601.cpp:100:22: error: 'v' was not declared in this scope
                 Size[v] += Size[u];
                      ^


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-17 07:30:13, Gzip enabled