/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:15: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:15: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:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0,y;i<g[x].size();++i)if(!vis[y=g[x][i]]){S.erase(S.find(make_pair(d[y],y)));d[y]--;S.insert(make_pair(d[y],y));}
~^~~~~~~~~~~~
/in/foo.cc:29:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0,y;i<g[x].size();++i)if(!vis[y=g[x][i]]){S.erase(S.find(make_pair(d[y],y)));d[y]--;S.insert(make_pair(d[y],y));}
~^~~~~~~~~~~~
/in/foo.cc:40: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:45:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
wr(A.size());putchar(' ');for(int i=0;i<A.size();++i)wr(A[i]),putchar(' ');putchar('\n');
~^~~~~~~~~
/in/foo.cc:46:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
wr(B.size());putchar(' ');for(int i=0;i<B.size();++i)wr(B[i]),putchar(' ');putchar('\n');
~^~~~~~~~~