You are viewing a single comment's thread. Return to all comments →
Just One Line
return max([i^j for i in range(l, r+1) for j in range(i, r+1)])
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 →
Just One Line