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