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:Trie + dfs 第一次在Trie树上进行DFS,易错点是被匹配的串中可能有相同的,dfs中找到匹配的串后应继续找,不能退出!

Posted by zichenzhiguang at 2016-09-02 12:46:06 on Problem 1816
In Reply To:Trie + dfs 第一次在Trie树上进行DFS,易错点是被匹配的串中可能有相同的,dfs中找到匹配的串后应继续找,不能退出! Posted by:alpc47 at 2009-08-07 18:09:50
很对,N个pattern中有相同的。

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