| ||||||||||
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 |
求 最长公共子序列的思路没错! 开数组一定要超过5000 ! ! !输出n- LCS(str,~str) 开数组一定要超过5000 ! ! ! 我用LCS做, WA 半天,搞得我还怀疑思路错误! 其实是我的数组开小了~ 把5000数组改为5001 就对了! 另外,数组应用short 用 int 超 内存 !!! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator