tickets.cpp: In function 'long long int find_maximum(int, std::vector<std::vector<int> >)':
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:22:2: note: in expansion of macro 'ff'
22 | ff(i,0,n - 1){
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:23:9: note: in expansion of macro 'ff'
23 | ff(j,0,m - 1){
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:27:2: note: in expansion of macro 'ff'
27 | ff(i,1,n)sort(mat[i] + 1, mat[i] + m + 1);
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:28:5: note: in expansion of macro 'ff'
28 | ff(i,1,n)ff(j,1,m)ans[i][j] = -1;
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:28:14: note: in expansion of macro 'ff'
28 | ff(i,1,n)ff(j,1,m)ans[i][j] = -1;
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:30:5: note: in expansion of macro 'ff'
30 | ff(i,1,n){
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:33:5: note: in expansion of macro 'ff'
33 | ff(i,1,(n*k)/2){
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:41:5: note: in expansion of macro 'ff'
41 | ff(i,1,n){
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:43:9: note: in expansion of macro 'ff'
43 | ff(j,1,k){
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:62:5: note: in expansion of macro 'ff'
62 | ff(i,1,n){
| ^~
tickets.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
tickets.cpp:64:9: note: in expansion of macro 'ff'
64 | ff(j,1,m)row.pb(ans[i][j]);
| ^~