foo.cc: In function 'void dfs_ori(int)':
foo.cc:30:21: 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 < G_ori[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
foo.cc: In function 'void dfs_trans(int)':
foo.cc:47:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 0; i < G_trans[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int dfs_sum(int)':
foo.cc:61:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for (int i = 0; i < G_shrink[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:130:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
130 | for (int j = 0; j < G_ori[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务