/in/foo.cc: In function 'int rd()':
/in/foo.cc:9:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(isdigit(c))x=x*10+c-48,c=getchar();return x;
^~~~~
/in/foo.cc:9:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(isdigit(c))x=x*10+c-48,c=getchar();return x;
^~~~~~
/in/foo.cc: In function 'void sol()':
/in/foo.cc:14:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)e[i]=0,g[i].clear();S.clear();
^~~
/in/foo.cc:14:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=n;i++)e[i]=0,g[i].clear();S.clear();
^
/in/foo.cc:21:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[x].size();i++)
~^~~~~~~~~~~~
/in/foo.cc:33:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[x].size();i++)
~^~~~~~~~~~~~
/in/foo.cc:48:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[x].size();j++)if(vis[g[x][j]]){f=0;break;}
~^~~~~~~~~~~~
/in/foo.cc:53:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
printf("%d ",(int)A.size());for(int i=0;i<A.size();i++)printf("%d ",A[i]);puts("");
~^~~~~~~~~
/in/foo.cc:54:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
printf("%d ",(int)B.size());for(int i=0;i<B.size();i++)printf("%d ",B[i]);puts("");
~^~~~~~~~~