chameleon.cpp: In function 'int S4(int, std::vector<int>, int)':
chameleon.cpp:30:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | if (a != L.size() + 1) if (S4(who, L, n))return 1;
| ~~^~~~~~~~~~~~~~~
chameleon.cpp:32:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if (b != R.size() + 1) if (S4(who, R, n))return 1;
| ~~^~~~~~~~~~~~~~~
chameleon.cpp:22:24: warning: unused variable 'j' [-Wunused-variable]
22 | int sz = Y.size(), i, j;
| ^
chameleon.cpp: In function 'void Solve(int)':
chameleon.cpp:49:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | if (Query(X) != X.size()) {
| ~~~~~~~~~^~~~~~~~~~~
chameleon.cpp:64:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (i = 0; i < AX.size(); i++) {
| ~~^~~~~~~~~~~
chameleon.cpp:67:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for (j = 0; j < AY.size(); j++) {
| ~~^~~~~~~~~~~