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

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

I was trying to solve this dp problem on spoj LIS2(http://www.spoj.com/problems/LIS2/). I am basically using finding longest increasing subsequence using binary search. This is discussed here(geeksforgeeks)(https://www.geeksforgeeks.org/longest-monotonically-increasing-subsequence-size-n-log-n/). In lower bound method in my code I am deciding based which point is lowest based on the distance of the point with origin. But it is giving me wrong answer ================================. Can someone help me. Thanks in advance.

Теги lis, dp
  • Проголосовать: нравится
  • -4
  • Проголосовать: не нравится