foo.cc: In function 'void dfs1(int)':
foo.cc:21:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i=0;i<G1[x].size();i++){
| ~^~~~~~~~~~~~~
foo.cc: In function 'void dfs2(int)':
foo.cc:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i=0;i<G2[x].size();i++){
| ~^~~~~~~~~~~~~
foo.cc: In function 'int dfs3(int)':
foo.cc:39:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i=0;i<G3[x].size();i++){
| ~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:80:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for(int k=0;k<G1[j].size();k++){
| ~^~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务