foo.cc: In function ‘void work(int)’:
foo.cc:14:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
14 | for(int j=0;j<b[a[i].l].size();j++)
| ~^~~~~~~~~~~~~~~~~
foo.cc:15:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
15 | for(int k=0;k<b[a[i].r].size();k++)
| ~^~~~~~~~~~~~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:33:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
33 | for(int j=0;j<b[a[i].l].size();j++)
| ~^~~~~~~~~~~~~~~~~