Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:Re:这是正解啊,由于delete和insert是等价的,所以最后结果长度是m,那么所有不一致的地方都要改。

Posted by zzxyyx_1 at 2012-11-13 15:27:48 on Problem 3356
In Reply To:求出两个串的公共子序列长度lcs,然后用 最长串的长度减去lcs,即是结果。 Posted by:ecjtuzxg at 2008-06-28 08:53:19
注意n>=m

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator