Xoractive.cpp:32:3: warning: "/*" within comment [-Wcomment]
32 | /*cout << "get_pairwise_xor ";
|
Xoractive.cpp: In lambda function:
Xoractive.cpp:60:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | while(p1 < tot.size()){
| ~~~^~~~~~~~~~~~
Xoractive.cpp:61:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if(p2 == totminus.size() || totminus[p2] != tot[p1]){
| ~~~^~~~~~~~~~~~~~~~~~
Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:88:28: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int>, std::allocator<std::vector<int> > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
88 | while(group.size() < n-1 && limit < 5){
| ~~~~~~~~~~~~~^~~~~
Xoractive.cpp:93:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | for(int j = 0; j < (i.size()+1)/2; j++)
| ~~^~~~~~~~~~~~~~~~
Xoractive.cpp:116:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int>, std::allocator<std::vector<int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | for(int i = 0 ; i < group.size(); i++){
| ~~^~~~~~~~~~~~~~