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