treearray.cpp: In function 'void dfs(int, int)':
treearray.cpp:7:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define fpp(a,i,c) for(int (a) = (i); (a) <= (c); (a)++)
| ^
treearray.cpp:18:2: note: in expansion of macro 'fpp'
18 | fpp(i,1,18)
| ^~~
treearray.cpp: In function 'int lca(int, int)':
treearray.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define fmm(a,i,c) for(int (a) = (i); (a) >= (c); (a)--)
| ^
treearray.cpp:32:2: note: in expansion of macro 'fmm'
32 | fmm(i,18,0){
| ^~~
treearray.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define fmm(a,i,c) for(int (a) = (i); (a) >= (c); (a)--)
| ^
treearray.cpp:38:2: note: in expansion of macro 'fmm'
38 | fmm(i,18,0){
| ^~~
treearray.cpp: In function 'void S()':
treearray.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
treearray.cpp:79:2: note: in expansion of macro 'fp'
79 | fp(i,1,n){
| ^~
treearray.cpp:7:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define fpp(a,i,c) for(int (a) = (i); (a) <= (c); (a)++)
| ^
treearray.cpp:86:2: note: in expansion of macro 'fpp'
86 | fpp(i,1,m)
| ^~~
treearray.cpp:7:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define fpp(a,i,c) for(int (a) = (i); (a) <= (c); (a)++)
| ^
treearray.cpp:88:2: note: in expansion of macro 'fpp'
88 | fpp(i,1,m){
| ^~~