sahnigwl's blog

By sahnigwl, history, 6 hours ago, In English

Hi folks,

While solving this question : Packing Rectangles

I submitted two codes which basically did the same thing, the only difference was :

  1. Verdict : Failed on test case 7 : Submission mid = l + (r - l)//2

  2. Verdict : Accepted Submission mid = (l + r) >> 1
    Can someone explain what caused this because, I believe both should function the same

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it