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:Why wa, not memory limit error?

Posted by hot at 2005-11-27 14:00:32 on Problem 1159
In Reply To:Re:Why wa, not memory limit error? Posted by:anne2277 at 2005-06-30 10:55:32
consider the sequence "eabcbde", the longest common subsequence is bcb,
so we the answer is 7-3=4;
however we actually just need to add 2 letters to form a palindrome "eadbcbdae",so the answer is 2.
Does this method work?

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