0_0_13917509_7498.cpp:9:16: error: 'vetor' was not declared in this scope
int findFather(vetor<int>& father, int x){
^
0_0_13917509_7498.cpp:9:22: error: expected primary-expression before 'int'
int findFather(vetor<int>& father, int x){
^
0_0_13917509_7498.cpp:9:36: error: expected primary-expression before 'int'
int findFather(vetor<int>& father, int x){
^
0_0_13917509_7498.cpp:9:41: error: expression list treated as compound expression in initializer [-fpermissive]
int findFather(vetor<int>& father, int x){
^
0_0_13917509_7498.cpp:9:42: error: expected ',' or ';' before '{' token
int findFather(vetor<int>& father, int x){
^
0_0_13917509_7498.cpp: In function 'int kruskal(std::vector<std::pair<int, std::pair<int, int> > >&, int)':
0_0_13917509_7498.cpp:25:30: error: 'findFather' cannot be used as a function
int vfa=findFather(father,v);
^
0_0_13917509_7498.cpp:26:30: error: 'findFather' cannot be used as a function
int ufa=findFather(father,u);
^
|