/in/foo.cc: In function 'void dfs1(int, int)':
/in/foo.cc:14:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < adj[u].size(); ++i) {
~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(int, int)':
/in/foo.cc:30:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < adj[u].size(); ++i) {
~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int get_anc(int, int)':
/in/foo.cc:54:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return depth[x] - depth[top[x]] - k >= down[top[x]].size() ? 0 : down[top[x]][depth[x] - depth[top[x]] - k];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:56:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return k - depth[x] + depth[top[x]] >= up[top[x]].size() ? 0 : up[top[x]][k - depth[x] + depth[top[x]]];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc: Assembler messages:
/in/foo.cc:65: Error: unsupported instruction `mov'