joi2019_ho_t1.cpp: In function 'int main()':
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:57:5: note: in expansion of macro 'fff'
57 | fff(i,1,n)
| ^~~
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:60:9: note: in expansion of macro 'fff'
60 | fff(j,1,m) tab[i][j]=s[j-1];
| ^~~
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:62:5: note: in expansion of macro 'fff'
62 | fff(i,1,n) fff(j,1,m) prer[i][j]=prer[i][j-1]+(tab[i][j]=='O');
| ^~~
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:62:16: note: in expansion of macro 'fff'
62 | fff(i,1,n) fff(j,1,m) prer[i][j]=prer[i][j-1]+(tab[i][j]=='O');
| ^~~
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:63:5: note: in expansion of macro 'fff'
63 | fff(i,1,n) fff(j,1,m) prec[i][j]=prec[i-1][j]+(tab[i][j]=='I');
| ^~~
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:63:16: note: in expansion of macro 'fff'
63 | fff(i,1,n) fff(j,1,m) prec[i][j]=prec[i-1][j]+(tab[i][j]=='I');
| ^~~
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:64:5: note: in expansion of macro 'fff'
64 | fff(i,1,n) fff(j,1,m) if (tab[i][j]=='J') ans+=(prer[i][m]-prer[i][j-1])*(prec[n][j]-prec[i-1][j]);
| ^~~
joi2019_ho_t1.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
joi2019_ho_t1.cpp:64:16: note: in expansion of macro 'fff'
64 | fff(i,1,n) fff(j,1,m) if (tab[i][j]=='J') ans+=(prer[i][m]-prer[i][j-1])*(prec[n][j]-prec[i-1][j]);
| ^~~