![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LCS
楚江枫
不忘初心,方得始终
展开
-
【HDU 杭电 1503 Advanced Fruits】
Advanced FruitsProblem Description The company “21st Century Fruits” has specialized in creating new sorts of fruits by transferring genes from one fruit into the genome of another one. Most times thi原创 2016-08-12 18:11:03 · 422 阅读 · 0 评论 -
【HDU 杭电 5748 Bellovin】
BellovinProblem Description Peter has a sequence a1,a2,…,an and he define a function on the sequence – F(a1,a2,…,an)=(f1,f2,…,fn), where fi is the length of the longest increasing subsequence ending w原创 2016-08-12 19:37:57 · 368 阅读 · 0 评论 -
【HDU 杭电 5773 The All-purpose Zero】
The All-purpose ZeroProblem Description ?? gets an sequence S with n intergers(0 < n <= 100000,0<= S[i] <= 1000000).?? has a magic so that he can change 0 to any interger(He does not need to change al原创 2016-08-12 20:07:20 · 376 阅读 · 0 评论 -
【HDU 杭电 1513 Palindrome 】
PalindromeProblem Description A palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write a program which, given a strin原创 2016-08-12 20:42:30 · 351 阅读 · 0 评论 -
【51nod 1092 回文字符串】+ LCS
1092 回文字符串 基准时间限制:1 秒 空间限制:131072 KB 分值: 10 难度:2级算法题 收藏 关注 回文串是指aba、abba、cccbccc、aaaa这种左右对称的字符串。每个字符串都可以通过向中间添加一些字符,使之变为回文字符串。 例如:abbc 添加2个字符可以变为 acbbca,也可以添加3个变为 abbcbba。方案1只需要添加2个字符,是所有方案中添加字符原创 2017-04-21 21:23:04 · 845 阅读 · 0 评论