furniture.cpp: In function 'void radi(int, int, int)':
furniture.cpp:29:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
29 | if(x <= 0 && y <= 0 && x > n || y > m)return;
| ~~~~~~~~~~~~~~~~~^~~~~~~~
furniture.cpp: In function 'int main()':
furniture.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
furniture.cpp:61:5: note: in expansion of macro 'ff'
61 | ff(i,1,n){
| ^~
furniture.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
furniture.cpp:62:9: note: in expansion of macro 'ff'
62 | ff(j,1,m)cin >> mat[i][j];
| ^~
furniture.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
furniture.cpp:66:5: note: in expansion of macro 'fb'
66 | fb(i,n,1){
| ^~
furniture.cpp:7:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
7 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
furniture.cpp:67:9: note: in expansion of macro 'fb'
67 | fb(j,m,1){
| ^~
furniture.cpp:69:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
69 | if(i == n && j == m || mat[i][j] == 1)continue;
| ~~~~~~~^~~~~~~~~
furniture.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
furniture.cpp:74:5: note: in expansion of macro 'ff'
74 | ff(i,1,n){
| ^~
furniture.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
furniture.cpp:75:9: note: in expansion of macro 'ff'
75 | ff(j,1,m){
| ^~
furniture.cpp:76:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
76 | if(i == 1 && j == 1 || mat[i][j] == 1)continue;
| ~~~~~~~^~~~~~~~~
furniture.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
furniture.cpp:81:5: note: in expansion of macro 'ff'
81 | ff(i,1,n){
| ^~
furniture.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
furniture.cpp:82:9: note: in expansion of macro 'ff'
82 | ff(j,1,m){
| ^~