MCARDS problem on spoj

how this problem can be solved using LIS dp method www.spoj.com/problems/MCARDS/

1 Like
//