/in/foo.cc: In function 'int find(int)':
/in/foo.cc:9:26: warning: capture of variable 'father' with non-automatic storage duration
return father[x]=find([father[x]);
^~~~~~
/in/foo.cc:4:5: note: 'int father [50001]' declared here
int father [50001];
^~~~~~
/in/foo.cc:9:32: error: expected ',' before '[' token
return father[x]=find([father[x]);
^
/in/foo.cc:9:32: error: expected identifier before '[' token
/in/foo.cc:9:36: error: expected ']' before ';' token
return father[x]=find([father[x]);
^
/in/foo.cc: In lambda function:
/in/foo.cc:9:36: error: expected '{' before ';' token
/in/foo.cc: In function 'int find(int)':
/in/foo.cc:9:36: error: expected ')' before ';' token
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:15: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=1;i<=n,i++)
~^~~
/in/foo.cc:17:22: error: expected ';' before ')' token
for(int i=1;i<=n,i++)
^
/in/foo.cc:33:18: error: 'ptintf' was not declared in this scope
ptintf("Yes\n");
^