irajdeep's blog

By irajdeep, history, 9 years ago, In English

So I made two submissions to this problem.

While this solution gets WA at test case 39, this onegets Accepted. While the only difference between them is in the order of calculating a1 and a2. Can anyone help me with the reason as why does the order make a difference? Thanks

Full text and comments »

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