SPOJ LIS2 PROBLEM

Правка en1, от Vedhachala, 2016-06-09 16:01:26

The problem link is http://www.spoj.com/problems/LIS2/

I used the nlogn algorithm for longest increasing subsequence. This is my code http://ideone.com/rmaQSE#

I am getting the correct answer for the sample test case given in the problem in g++11 compiler. But i am getting wrong answer #1 for my submission in spoj. could someone go through my code and tell me where i am going wrong!

Теги spoj, help needed

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Vedhachala 2016-06-09 16:01:26 411 Initial revision (published)