rect.cpp: In function 'void print(inter)':
rect.cpp:19:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for (int i = 0; i < now.size(); i++)
| ~~^~~~~~~~~~~~
rect.cpp: In function 'inter make_inter(std::vector<int>)':
rect.cpp:28:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for (int i = 0; i < vec.size(); i++){
| ~~^~~~~~~~~~~~
rect.cpp: In function 'inter join(inter&, inter&)':
rect.cpp:57:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for (int i = 0, j = 0; i < fir.size(); i++){
| ~~^~~~~~~~~~~~
rect.cpp:58:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | while (j < sec.size() && sec[j] < fir[i])
| ~~^~~~~~~~~~~~
rect.cpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if (j < sec.size() && sec[j] == fir[i])
| ~~^~~~~~~~~~~~
rect.cpp: In function 'll count_rectangles(std::vector<std::vector<int> >)':
rect.cpp:100:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | while (po[j] < col_inter[j].size() && col_inter[j][po[j]] < mp(st_row, en_row))
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
rect.cpp:102:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | if (po[j] < col_inter[j].size() && col_inter[j][po[j]] == mp(st_row, en_row))
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~