#I. Greatest Common Increasing Subsequence

    远端评测题 1000ms 32MiB

Greatest Common Increasing Subsequence

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

Problem Description

This is a problem from ZOJ 2432.To make it easyer,you just need output the length of the subsequence.

Input

Each sequence is described with M - its length (1 <= M <= 500) and M integer numbers Ai (-2^31 <= Ai < 2^31) - the sequence itself.

Output

output print L - the length of the greatest common increasing subsequence of both sequences.

1

5 1 4 2 5 -12 4 -12 1 2 4

</p>
2

ACM暑期加训(一)

未认领
状态
已结束
题目
10
开始时间
2024-8-5 21:30
截止时间
2025-8-14 23:59
可延期
0 小时