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:这样做不行啊In Reply To:这样做不行啊 Posted by:faof at 2007-12-05 13:58:14 > m[i]记录匹配到第i个字母所需要的最小单词数 > for j=0-〉i-1 > for k=0-〉n(单词数) > 如果words[k]==数字j+1-〉i位 > 找到最小的m[j]+1=m[i] > > 超时了 弱了,当我没有说过 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator