Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:23:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (int i = 0; i < exp.size(); i++) {
| ~~^~~~~~~~~~~~
Xoractive.cpp:27:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | while (j < all.size()) nums.insert(all[j++] ^ ans[0]);
| ~~^~~~~~~~~~~~
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from Xoractive.cpp:2:
Xoractive.cpp:28:22: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
28 | assert(nums.size() == n);
| ~~~~~~~~~~~~^~~~