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:好爽!!其实这题dfs可以过,我的就是,16ms,最重要的是中间加一步剪枝

Posted by MiracleCheng at 2016-08-16 12:52:45 on Problem 1458
In Reply To:好爽!!其实这题dfs可以过,我的就是,16ms,最重要的是中间加一步剪枝 Posted by:zhanggt1994 at 2013-05-07 01:13:41
> 就是如果当前string 1 的pos == string 2 待检测的pos (也就是上次检查的pos+1),就一定匹配,直接pos++,检查下一个元素..

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