Xoractive.cpp:21:11: warning: overflow in conversion from 'long int' to 'int' changes value from '1000000000000000000' to '-1486618624' [-Woverflow]
21 | int inf = 1000000000000000000;
| ^~~~~~~~~~~~~~~~~~~
Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:30:14: error: 'ask' was not declared in this scope
30 | ans[0] = ask(1);
| ^~~
Xoractive.cpp:47:29: error: 'get_pairwise_xor' was not declared in this scope
47 | vector <int> ans1 = get_pairwise_xor(ind);
| ^~~~~~~~~~~~~~~~
Xoractive.cpp:54:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (int i = 0; i < ans2.size(); i++)
| ~~^~~~~~~~~~~~~
Xoractive.cpp:59:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for (int i = 0; i < ans1.size(); i++)
| ~~^~~~~~~~~~~~~