Mohammad7892's blog

By Mohammad7892, history, 3 years ago, In English

Link to the problem

My submission

In checker log it is showing that wrong answer 2 * (sum |ai-bi|) > sum ai (test case 7) but in test case 7 according to my output 2 * (sum |ai-bi|) is equal to 70 and sum ai is equal to 137 and clearly 2 * (sum |ai-bi|) < sum ai and my output is satisfying all the conditions then also it is showing it is wrong due to some reason which is completely wrong. How to resolve this issue?

Full text and comments »

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