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

Re:这样做不行啊

Posted by faof at 2007-12-05 14:06:56 on Problem 1732
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:
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