| ||||||||||
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不能过么?x=lcs(i-1,j-1)+((a[i]==b[j])?1:0); y=lcs(i-1,j); z=lcs(i,j-1); t[i][j]=max(x,y,z); 对找过的ij没有再找了,为什么TLE? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator