| ||||||||||
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:Why wa, not memory limit error?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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator