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:87: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]
87 | while(group.size() < n-1){
| ~~~~~~~~~~~~~^~~~~
Xoractive.cpp:92:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for(int j = 0; j < (i.size()+1)/2; j++)
| ~~^~~~~~~~~~~~~~~~
Xoractive.cpp:114: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]
114 | for(int i = 0 ; i < group.size(); i++){
| ~~^~~~~~~~~~~~~~