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

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

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

Полный текст и комментарии »

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