foo.cc: In function 'int dfs1(int)':
foo.cc:10:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0; i<f[x].size(); i++)
| ~^~~~~~~~~~~~
foo.cc:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
17 | }
| ^
foo.cc: In function 'int dfs2(int)':
foo.cc:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=0; i<f[x].size(); i++)
| ~^~~~~~~~~~~~
foo.cc:31:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i=0; i<f[x].size(); i++)
| ~^~~~~~~~~~~~
foo.cc:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
34 | }
| ^
正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务