You are viewing a single comment's thread. Return to all comments →
there is an efficient solution for this...
using namespace std; int main() { int m,n; cin>>m>>n; int x=m^n; int k=log2(x)+1; cout<
}
Seems like cookies are disabled on this browser, please enable them to open this website
Maximizing XOR
You are viewing a single comment's thread. Return to all comments →
there is an efficient solution for this...
include
using namespace std; int main() { int m,n; cin>>m>>n; int x=m^n; int k=log2(x)+1; cout<
}