messy.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > addreq(int)':
messy.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
26 | FOR(i, 0, tmp.size()){
| ~~~~~~~~~~~~~~~~
messy.cpp:26:3: note: in expansion of macro 'FOR'
26 | FOR(i, 0, tmp.size()){
| ^~~
messy.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
29 | FOR(i, 0, tmp.size()){
| ~~~~~~~~~~~~~~~~
messy.cpp:29:3: note: in expansion of macro 'FOR'
29 | FOR(i, 0, tmp.size()){
| ^~~
messy.cpp: In function 'void solve(int, int, std::vector<int>&)':
messy.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
39 | FOR(i, 0, pos.size()){
| ~~~~~~~~~~~~~~~~
messy.cpp:39:2: note: in expansion of macro 'FOR'
39 | FOR(i, 0, pos.size()){
| ^~~
messy.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
62 | FOR(i, 0, pos.size() - 1){
| ~~~~~~~~~~~~~~~~~~~~
messy.cpp:62:2: note: in expansion of macro 'FOR'
62 | FOR(i, 0, pos.size() - 1){
| ^~~
messy.cpp:73:16: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
73 | if (fi.size() == (end - start)/2){
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
messy.cpp: In function 'std::vector<int> restore_permutation(int, int, int)':
messy.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
88 | FOR(i, 0, W.size()){
| ~~~~~~~~~~~~~~
messy.cpp:88:2: note: in expansion of macro 'FOR'
88 | FOR(i, 0, W.size()){
| ^~~