Shortest and Longest LIS

Problem Name:
Shortest and Longest LIS
Site:CodeForces
Links:
Tags:
Problem setters: