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_26933155_11024.cpp: In function 'void Solve()':
0_0_26933155_11024.cpp:79:34: error: cannot convert 'LL* {aka long long int*}' to 'int*' for argument '2' to 'int Find(int, int*)'
                     LL u=Find(i,U);
                                  ^
0_0_26933155_11024.cpp:109:35: error: cannot convert 'LL* {aka long long int*}' to 'int*' for argument '2' to 'int Find(int, int*)'
                 U[i]=f[i]=Find(i,f);
                                   ^
0_0_26933155_11024.cpp:119:24: error: cannot convert 'LL* {aka long long int*}' to 'int*' for argument '2' to 'int Find(int, int*)'
         int a1=Find(a,f);
                        ^
0_0_26933155_11024.cpp:120:24: error: cannot convert 'LL* {aka long long int*}' to 'int*' for argument '2' to 'int Find(int, int*)'
         int b1=Find(b,f);
                        ^
0_0_26933155_11024.cpp:124:20: error: cannot convert 'LL* {aka long long int*}' to 'int*' for argument '2' to 'int Find(int, int*)'
         U[Find(a1,U)]=Find(b1,U);//并查集操作
                    ^
0_0_26933155_11024.cpp:124:32: error: cannot convert 'LL* {aka long long int*}' to 'int*' for argument '2' to 'int Find(int, int*)'
         U[Find(a1,U)]=Find(b1,U);//并查集操作
                                ^


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-10-02 19:15:23, Gzip enabled