Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
将串S反过来S'并求其与S的最长子序列,这样的思路不对吗?可知S'和S的最长子序列必是回文的,那么剩下的不就是需要添加的字符么?拿原始长度减去最长子序列长度不是最终结果么?求解答。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator