题目1042:Coincidence 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:810 解决:430 题目描述: Find a longest common subsequence of two strings. 输入: First and second line of each input case contain two strings of
时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:2338 解决:1255 题目描述: Find a longest common subsequence of two strings. 输入: First and second line of each input case contain two strings of lowercase charac
时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:2303 解决:1241 题目描述: Find a longest common subsequence of two strings. 输入: First and second line of each input case contain two strings of lowercase char
最长非连续子串长度,自己扣了半天,没写准,看了题解恍然大明白 ti #include<bits/stdc++.h>using namespace std;int n, m, c;int p[1000010], q[1000010], k[2000010];string s1, s2;map<char, int>mp;int dp[110][110]; int d[110]; bool
Find a longest common subsequence of two strings. 输入描述: First and second line of each input case contain two strings of lowercase character a…z. There are no spaces before, inside or after the string