Xoractive.cpp:32:3: warning: "/*" within comment [-Wcomment]
32 | /*cout << "get_pairwise_xor ";
|
Xoractive.cpp: In lambda function:
Xoractive.cpp:72:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | while(p1 < tot.size()){
| ~~~^~~~~~~~~~~~
Xoractive.cpp:74:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | if(p2 == totminus.size() || totminus[p2] != tot[p1]){
| ~~~^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from Xoractive.cpp:1:
Xoractive.cpp:89:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | assert(ptr == q.size());
| ~~~~^~~~~~~~~~~
Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:110: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]
110 | while(group.size() < n-1){
| ~~~~~~~~~~~~~^~~~~
Xoractive.cpp:116:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | for(int j = 0; j < (i.size()+1)/2; j++)
| ~~^~~~~~~~~~~~~~~~
Xoractive.cpp:138: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]
138 | for(int i = 0 ; i < group.size(); i++){
| ~~^~~~~~~~~~~~~~