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 |
基本上就是LCS的变形 不过注意处理边界啊(discuss里面说了很多了)我就忘掉处理边界了 样例都过不了 f(0,0)是空集 可是f(0,i)可不是空集 是f(0,i-1)+sum(' ',s1[i])算出来的…… f(i,0)同理 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator