rect.cpp: In function 'long long int count_rectangles(std::vector<std::vector<int> >)':
rect.cpp:146:32: warning: narrowing conversion of 'x1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
146 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:146:36: warning: narrowing conversion of 'x2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
146 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:146:40: warning: narrowing conversion of 'y1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
146 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:146:44: warning: narrowing conversion of 'y2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
146 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:150:30: warning: narrowing conversion of 'x1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
150 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:150:34: warning: narrowing conversion of 'x2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
150 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:150:38: warning: narrowing conversion of 'y1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
150 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:150:42: warning: narrowing conversion of 'y2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
150 | if(y1 != -2) xr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:166:32: warning: narrowing conversion of 'x1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
166 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:166:36: warning: narrowing conversion of 'x2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
166 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:166:40: warning: narrowing conversion of 'y1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
166 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:166:44: warning: narrowing conversion of 'y2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
166 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:170:30: warning: narrowing conversion of 'x1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
170 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:170:34: warning: narrowing conversion of 'x2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
170 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:170:38: warning: narrowing conversion of 'y1' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
170 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~
rect.cpp:170:42: warning: narrowing conversion of 'y2' from 'int' to 'int16_t' {aka 'short int'} [-Wnarrowing]
170 | if(x1 != -2) yr.push_back({x1, x2, y1, y2});
| ^~