abhinash6g's blog

By abhinash6g, history, 3 years ago, In English

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.

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
3 years ago, # |
  Vote: I like it -9 Vote: I do not like it

You can ask someone rated >=1900 for the uphack.

  • »
    »
    3 years ago, # ^ |
      Vote: I like it +49 Vote: I do not like it

    It only works for a week after a contest, and this contest happened 8 years ago

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      Is there any other way to go ?

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Oops!

      Then only way to do is to update tests from polygon?

»
3 years ago, # |
  Vote: I like it +75 Vote: I do not like it

Done: 120949289