Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:13:7: error: 'class std::vector<int>' has no member named 'pb'
13 | G.pb(i);
| ^~
Xoractive.cpp:15:5: error: 'class std::vector<int>' has no member named 'pb'
15 | G.pb(1);
| ^~
Xoractive.cpp:21:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for (int i = 0, j = 0; i < exp.size(); i++) {
| ~~^~~~~~~~~~~~
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:24:22: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
24 | assert(nums.size() == n);
| ~~~~~~~~~~~~^~~~