foo.cc: In function 'void Dp(int, int)':
foo.cc:37:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (!ch) f[u] = 1; return;
^~
foo.cc:37:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (!ch) f[u] = 1; return;
^~~~~~
foo.cc: In function 'void Dfs(int, int, int)':
foo.cc:64:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (!ch) f[u] = 1; return;
^~
foo.cc:64:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (!ch) f[u] = 1; return;
^~~~~~
foo.cc: In function 'int main()':
foo.cc:85:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (cnt && !cmd[cnt - 1].v) --cnt; printf("%d\n%d", ans, cnt);
^~~~~
foo.cc:85:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while (cnt && !cmd[cnt - 1].v) --cnt; printf("%d\n%d", ans, cnt);
^~~~~~
foo.cc:69:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("catch.in", "r", stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:70:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("catch.out", "w", stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:71:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
foo.cc:74:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int u, v; scanf("%d%d", &u, &v);
~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务