foo.cc: In function 'int dfs2(int)':
foo.cc:53:1: warning: no return statement in function returning non-void [-Wreturn-type]
53 | }
| ^
foo.cc: In function 'int main()':
foo.cc:85:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
85 | else de=maxn/2;maxn=0;
| ^~~~
foo.cc:85:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
85 | else de=maxn/2;maxn=0;
| ^~~~
foo.cc: In function 'int dfs(int, int)':
foo.cc:43:1: warning: control reaches end of non-void function [-Wreturn-type]
43 | }
| ^
[Hydro](https://hydro.ac)提供评测服务