0_0_35504782_26164.cpp:42:1: error: stray '\262' in program
并查集模板
^
0_0_35504782_26164.cpp:42:1: error: stray '\242' in program
0_0_35504782_26164.cpp:42:1: error: stray '\262' in program
0_0_35504782_26164.cpp:42:1: error: stray '\351' in program
0_0_35504782_26164.cpp:42:1: error: stray '\274' in program
0_0_35504782_26164.cpp:42:1: error: stray '\257' in program
0_0_35504782_26164.cpp:42:1: error: stray '\304' in program
0_0_35504782_26164.cpp:42:1: error: stray '\243' in program
0_0_35504782_26164.cpp:42:1: error: stray '\260' in program
0_0_35504782_26164.cpp:42:1: error: stray '\345' in program
0_0_35504782_26164.cpp: In function 'int findset(int)':
0_0_35504782_26164.cpp:43:5: error: redefinition of 'int findset(int)'
int findset(int x)//x属于那个集合,即求x的根结点
^
0_0_35504782_26164.cpp:4:5: note: 'int findset(int)' previously defined here
int findset(int x)//x属于那个集合,即求x的根结点
^
0_0_35504782_26164.cpp: In function 'void union_set(int, int)':
0_0_35504782_26164.cpp:51:27: error: ambiguating new declaration of 'void union_set(int, int)'
void union_set(int a,int b)//合并集合x,y
^
0_0_35504782_26164.cpp:11:5: note: old declaration 'int union_set(int, int)'
int union_set(int a,int b)//合并集合x,y
^
|