gondola.cpp: In function 'int valid(int, int*)':
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:28:5: note: in expansion of macro 'ff'
28 | ff(i,0,n - 1)svi.pb(inputSeq[i]);
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:30:5: note: in expansion of macro 'ff'
30 | ff(i,0,n - 2)if(svi[i] == svi[i + 1])return 0;
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:33:5: note: in expansion of macro 'ff'
33 | ff(i,0,n - 1){
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:40:5: note: in expansion of macro 'ff'
40 | ff(i,gde,gde+n-1){
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:44:5: note: in expansion of macro 'ff'
44 | ff(i,0,n - 1){
| ^~
gondola.cpp: In function 'int replacement(int, int*, int*)':
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:58:5: note: in expansion of macro 'ff'
58 | ff(i,0,n - 1)niz[i] = gondolaSeq[i];
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:61:5: note: in expansion of macro 'ff'
61 | ff(i,0,n - 1){
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:68:5: note: in expansion of macro 'ff'
68 | ff(i,gde,gde+n-1){
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:75:5: note: in expansion of macro 'ff'
75 | ff(i,0,n - 1){
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:93:5: note: in expansion of macro 'ff'
93 | ff(i,0,m - 1){
| ^~
gondola.cpp: In function 'int countReplacement(int, int*)':
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:121:5: note: in expansion of macro 'ff'
121 | ff(i,0,n - 1)if(inputSeq[i] <= n)pom = 1;
| ^~
gondola.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
gondola.cpp:126:5: note: in expansion of macro 'ff'
126 | ff(i,poc,n - 1){
| ^~