Incorrect Solution gets Accepted due to weak Testcase

Revision en1, by abhinash6g, 2021-06-30 15:43:49

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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English abhinash6g 2021-06-30 15:43:49 603 Initial revision (published)