/in/foo.cc:12:1: error: expected ';' after struct definition
}
^
/in/foo.cc: In function 'void zxscsh()':
/in/foo.cc:38:15: error: 'str' was not declared in this scope
int r1=find(str[i].x),r2=find(str[i].y);
^~~
/in/foo.cc:39:10: error: 'r2' was not declared in this scope
if(r1!=r2) fa[r1]=r2,str[i].flag=1,mtree(str[i].x,str[i].y,str[i].dis);
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:7: error: 'str' was not declared in this scope
cin>>str[i].x>>str[i].y>>str[i].dis;
^~~
/in/foo.cc:53:7: error: 'str' was not declared in this scope
sort(str+1,str+1+m);
^~~
/in/foo.cc:57:2: error: 'retrun' was not declared in this scope
retrun 0;
^~~~~~
/in/foo.cc:50:6: warning: unused variable 'a' [-Wunused-variable]
int a,b,c;
^
/in/foo.cc:50:8: warning: unused variable 'b' [-Wunused-variable]
int a,b,c;
^
/in/foo.cc:50:10: warning: unused variable 'c' [-Wunused-variable]
int a,b,c;
^