quality.cpp: In function 'bool check(int)':
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:41:5: note: in expansion of macro 'ff'
41 | ff(i,1,n){
| ^~
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:42:9: note: in expansion of macro 'ff'
42 | ff(j,1,m){
| ^~
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:43:13: note: in expansion of macro 'ff'
43 | ff(k,0,1)pref[i][j][k] = pref[i - 1][j][k] + pref[i][j - 1][k] - pref[i - 1][j - 1][k];
| ^~
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:49:5: note: in expansion of macro 'ff'
49 | ff(i,1,n - h + 1){
| ^~
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:50:9: note: in expansion of macro 'ff'
50 | ff(j,1,m - w + 1){
| ^~
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:52:13: note: in expansion of macro 'ff'
52 | ff(k,0,0){
| ^~
quality.cpp:51:18: warning: unused variable 'los' [-Wunused-variable]
51 | bool los = 0;
| ^~~
quality.cpp: In function 'int rectangle(int, int, int, int, int (*)[3001])':
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:67:5: note: in expansion of macro 'ff'
67 | ff(i,0,n - 1){
| ^~
quality.cpp:8:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
8 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
quality.cpp:68:9: note: in expansion of macro 'ff'
68 | ff(j,0,m - 1){
| ^~