foo.cc: In function 'void solve1::dfs(int, int)':
foo.cc:35:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (int i=0;i<G[u].size();i++)
| ~^~~~~~~~~~~~
foo.cc: In function 'void solve2::dfs(int, int)':
foo.cc:83:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for (int i=0;i<G[u].size();i++)
| ~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务