题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5773 题意: 给出n个数,其中 0 可当作任何数,求能够得到的最长上升子序列(严格上升)的长度; 我们可以假设所有的零都能用上,那么结果一定包含零的个数,然后就把那些非零的数都减去它前面零的个数,然后求 Read More
posted @ 2016-10-16 16:13 西瓜不懂柠檬的酸 Views(217) Comments(0) Diggs(0)
levels of contents