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:48:5: note: in expansion of macro 'ff'
48 | 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:49:9: note: in expansion of macro 'ff'
49 | 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:50:13: note: in expansion of macro 'ff'
50 | ff(k,0,1){
| ^~
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:65:5: note: in expansion of macro 'ff'
65 | 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:66:9: note: in expansion of macro 'ff'
66 | ff(j,0,m - 1){
| ^~