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 |
Re:Re:这是正解啊,由于delete和insert是等价的,所以最后结果长度是m,那么所有不一致的地方都要改。In Reply To:求出两个串的公共子序列长度lcs,然后用 最长串的长度减去lcs,即是结果。 Posted by:ecjtuzxg at 2008-06-28 08:53:19 注意n>=m Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator