UVA11499 Longest Increasing Sequence

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2494 [PDF](https://uva.onlinejudge.org/external/114/p11499.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11499/a54db9fd26a657a2758495d9dd5ef94fde6d9c35.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11499/de0bbb1ebccf76070976e38e7cfec38e6e30a144.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11499/31cf92376430234e986d627535af62e2d8e09a08.png)