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_33128354_26666.cpp: In function 'int main()':
0_0_33128354_26666.cpp:45:21: error: invalid types 'int[int]' for array subscript
    scanf("%d%d",&u[i],&v[i]);
                     ^
0_0_33128354_26666.cpp:45:27: error: invalid types 'int[int]' for array subscript
    scanf("%d%d",&u[i],&v[i]);
                           ^
0_0_33128354_26666.cpp:46:13: error: invalid types 'int[int]' for array subscript
    merge(u[i],v[i]);
             ^
0_0_33128354_26666.cpp:46:18: error: invalid types 'int[int]' for array subscript
    merge(u[i],v[i]);
                  ^
0_0_33128354_26666.cpp:51:10: error: invalid types 'int[int]' for array subscript
    fa[u[i]]=u[i];
          ^
0_0_33128354_26666.cpp:51:16: error: invalid types 'int[int]' for array subscript
    fa[u[i]]=u[i];
                ^
0_0_33128354_26666.cpp:52:10: error: invalid types 'int[int]' for array subscript
    fa[v[i]]=v[i];
          ^
0_0_33128354_26666.cpp:52:16: error: invalid types 'int[int]' for array subscript
    fa[v[i]]=v[i];
                ^


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-29 00:01:01, Gzip enabled