Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:29:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int i = 0; i < exp.size(); i++, j++)
| ~~^~~~~~~~~~~~
Xoractive.cpp:32:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | while (j < all.size()) nums.insert(all[j++] ^ ans[0]);
| ~~^~~~~~~~~~~~
Xoractive.cpp:52:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if (cnt >= G.size()) nxt.pb(j);
| ~~~~^~~~~~~~~~~
Xoractive.cpp:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for (int j = 0; j < tmp.size(); j++)
| ~~^~~~~~~~~~~~
Xoractive.cpp:61:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for (int j = 0; j < tmp.size(); j++)
| ~~^~~~~~~~~~~~
Xoractive.cpp:66:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for (int j = 0; j < G.size() && flag; j++) {
| ~~^~~~~~~~~~
Xoractive.cpp:68:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for (int k = 0; k < G.size(); k++) {
| ~~^~~~~~~~~~
Xoractive.cpp:73:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | if (cnt < G.size()) flag = false;
| ~~~~^~~~~~~~~~
Xoractive.cpp:77:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for (int j = 0; j < G.size(); j++)
| ~~^~~~~~~~~~
Xoractive.cpp:65:25: warning: unused variable 'tf' [-Wunused-variable]
65 | bool flag = true, tf = false;
| ^~