Блог пользователя Mohammad7892

Автор Mohammad7892, история, 5 лет назад, По-английски

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?

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

lol, 70 * 2 is bigger than 137, am I mistaken?

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

In test case $$$6$$$, $$$n = 14$$$, but you write $$$13$$$ integers.