Do You Know LIS?

Limits 3s, 512 MB

Alam has an array aaa with nnn elements a1,a2,…,ana_1, a_2, …, a_na1​,a2​,…,an​ and an integer xxx.


This is a companion discussion topic for the original entry at https://toph.co/p/do-you-know-lis