D. Little Girl and Maximum XOR
Correct Submission
Incorrect Submission
This happens because of inbuilt log2 precission
log2(288230376151711743)=58 , which should be 57 instead.
Please Add below Testcase, if possible.
l=1 r=288230376151711743
correct output : 288230376151711743.
Let me know , if I'm wrong.