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

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

Hi,

I recently came across TETRA spoj problem and came to know that the solution of this problem is a formula (Which i dont have any idea on how was that derived). I was wondering if there is any other elegant way of solving this? like binary search over the answer or something like that? Any help would be appreciated.

ThankYou.

EDIT: would also be helpful if someone posts the derivation of the formula.

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

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