Spoj problem LIS2 TLE

Revision en1, by gvaibhav21, 2015-06-19 14:12:48

Spoj Problem: LIS2

I tried this using 2-D BIT, with a time complexity: O(n*logn*logn) but i am getting TLE.

My submitted code: http://ideone.com/kaYVz1

Any ideas?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English gvaibhav21 2015-06-19 14:12:48 258 Initial revision (published)