0_0_21880792_4884.cpp: In function 'void process()':
0_0_21880792_4884.cpp:24:21: error: invalid conversion from 'int*' to 'int' [-fpermissive]
n1=Find(A,n1);
^
0_0_21880792_4884.cpp:24:21: error: too many arguments to function 'int Find(int)'
0_0_21880792_4884.cpp:9:5: note: declared here
int Find(int element);
^
0_0_21880792_4884.cpp:25:21: error: invalid conversion from 'int*' to 'int' [-fpermissive]
n2=Find(A,n2);
^
0_0_21880792_4884.cpp:25:21: error: too many arguments to function 'int Find(int)'
0_0_21880792_4884.cpp:9:5: note: declared here
int Find(int element);
^
0_0_21880792_4884.cpp:26:25: error: invalid conversion from 'int*' to 'int' [-fpermissive]
SetUnion(A,n1,n2);
^
0_0_21880792_4884.cpp:26:25: error: too many arguments to function 'void SetUnion(int, int)'
0_0_21880792_4884.cpp:7:6: note: declared here
void SetUnion(int root1,int root2);
^
|