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){
| ^~