kenkoooo's submission of Longest Increasing Subsequences | CodeChef