beauty.cpp: In function 'int tr(int, bool)':
beauty.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
beauty.cpp:22:2: note: in expansion of macro 'fp'
22 | fp(i,0,s.size())
| ^~
beauty.cpp:6:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ~~~~^~~~~
beauty.cpp:22:2: note: in expansion of macro 'fp'
22 | fp(i,0,s.size())
| ^~
beauty.cpp: In function 'void S()':
beauty.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
beauty.cpp:32:2: note: in expansion of macro 'fp'
32 | fp(i,0,n)
| ^~
beauty.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
beauty.cpp:35:2: note: in expansion of macro 'fp'
35 | fp(i,0,n){
| ^~
beauty.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
beauty.cpp:36:3: note: in expansion of macro 'fp'
36 | fp(j,i+1,n){
| ^~