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

基本上就是LCS的变形 不过注意处理边界啊(discuss里面说了很多了)

Posted by jayhaizeizai at 2011-09-17 12:21:34 on Problem 1080
我就忘掉处理边界了 样例都过不了
f(0,0)是空集
可是f(0,i)可不是空集 是f(0,i-1)+sum(' ',s1[i])算出来的……
f(i,0)同理

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