题意翻译 求两个串的最长公共上升子序列. 题目描述 This problem differs from one which was on the online contest. The sequence a1,a2,...,an is called increasing, if ai<ai+1 for i<n . The sequence s1,s2,...,sk is called the subsequence of the sequence a1,a2,...,an , if…
Maximum sum Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 33918 Accepted: 10504 Description Given a set of n integers: A={a1, a2,..., an}, we define a function d(A) as below: Your task is to calculate d(A). Input The input consists o…