Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:23:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < vv.size(); ++j)
~~^~~~~~~~~~~
Xoractive.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < vec.size(); ++j)
~~^~~~~~~~~~~~
Xoractive.cpp:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < vv.size(); ++j)
~~^~~~~~~~~~~
Xoractive.cpp:36:9: error: 'ans' was not declared in this scope
ans.push_back(sol[i]);
^~~
Xoractive.cpp:36:9: note: suggested alternative: 'abs'
ans.push_back(sol[i]);
^~~
abs
Xoractive.cpp:37:12: error: 'ans' was not declared in this scope
return ans;
^~~
Xoractive.cpp:37:12: note: suggested alternative: 'abs'
return ans;
^~~
abs