rect.cpp: In function 'long long int count_rectangles(std::vector<std::vector<int> >)':
rect.cpp:33:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int i = 1; i < a.size(); ++i) dp[i][0] = dp[i-1][0] + a[i][0];
| ~~^~~~~~~~~~
rect.cpp:34:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int j = 1; j < a[0].size(); ++j) dp[0][j] = dp[0][j-1] + a[0][j];
| ~~^~~~~~~~~~~~~
rect.cpp:35:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 1; i < a.size(); ++i){
| ~~^~~~~~~~~~
rect.cpp:36:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int j = 1; j < a[0].size(); ++j){
| ~~^~~~~~~~~~~~~
rect.cpp:41:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int r1 = 0; r1 < a.size()-1; ++r1){
| ~~~^~~~~~~~~~~~
rect.cpp:42:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int r2 = r1+1; r2 < a.size()-1; ++r2){
| ~~~^~~~~~~~~~~~
rect.cpp:43:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int c1 = 0; c1 < a[0].size()-1; ++c1){
| ~~~^~~~~~~~~~~~~~~
rect.cpp:44:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int c2 = c1+1; c2 < a[0].size()-1; ++c2){
| ~~~^~~~~~~~~~~~~~~