0_0_39837644_216.cpp:9:10: error: expected constructor, destructor, or type conversion before '(' token
9 | merge_set(x,y){
| ^
0_0_39837644_216.cpp: In function 'int main()':
0_0_39837644_216.cpp:26:22: error: 'A' was not declared in this scope
26 | cin>>A>>B;
| ^
0_0_39837644_216.cpp:26:25: error: 'B' was not declared in this scope
26 | cin>>A>>B;
| ^
0_0_39837644_216.cpp:27:17: error: 'merge_set' was not declared in this scope
27 | merge_set(A,B);
| ^~~~~~~~~
0_0_39837644_216.cpp:30:13: error: 'i' was not declared in this scope
30 | for(i=1;i<=n;i++)
| ^
0_0_39837644_216.cpp:35:13: error: 'count' was not declared in this scope
35 | count<<result<<end1;
| ^~~~~
0_0_39837644_216.cpp:35:28: error: 'end1' was not declared in this scope
35 | count<<result<<end1;
| ^~~~
|