stones.cpp: In function 'void solve()':
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:34:9: note: in expansion of macro 'ff'
34 | ff(i,1,m)cout << '-';
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:40:9: note: in expansion of macro 'ff'
40 | ff(i,1,n)cout << "+\n";
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:51:5: note: in expansion of macro 'ff'
51 | ff(i,1,m)val[i] = {0,i};
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:52:5: note: in expansion of macro 'ff'
52 | ff(i,1,m)da[i] = 0;
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:57:5: note: in expansion of macro 'ff'
57 | ff(i,1,n){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:61:9: note: in expansion of macro 'ff'
61 | ff(j,1,br){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:64:9: note: in expansion of macro 'ff'
64 | ff(j,1,m){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:80:5: note: in expansion of macro 'ff'
80 | ff(i,1,n){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:81:9: note: in expansion of macro 'ff'
81 | ff(j,1,m)mat[i][j] = 0;
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:83:5: note: in expansion of macro 'ff'
83 | ff(i,1,m)val[i] = {0,i};
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:85:5: note: in expansion of macro 'ff'
85 | ff(i,1,m)da[i] = 0;
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:86:5: note: in expansion of macro 'ff'
86 | ff(i,1,n){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:93:9: note: in expansion of macro 'ff'
93 | ff(j,1,br){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:97:9: note: in expansion of macro 'ff'
97 | ff(j,1,m){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:109:17: note: in expansion of macro 'ff'
109 | ff(k,1,n){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'r' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:110:21: note: in expansion of macro 'ff'
110 | ff(r,1,m){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:118:17: note: in expansion of macro 'ff'
118 | ff(k,1,n){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'r' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:119:21: note: in expansion of macro 'ff'
119 | ff(r,1,m){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:125:13: note: in expansion of macro 'ff'
125 | ff(k,1,n){
| ^~
stones.cpp:6:27: warning: unnecessary parentheses in declaration of 'r' [-Wparentheses]
6 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
stones.cpp:126:17: note: in expansion of macro 'ff'
126 | ff(r,1,m){
| ^~