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

有必要用并查集么?

Posted by Thank_you at 2007-11-05 16:43:01 on Problem 1816
In Reply To:AC了,给大家提供一组易错的数据 Posted by:sunset at 2007-05-27 22:39:14
> 
> 3 2
> b?g*
> b?g*
> ?ft??
> bags
> wftke
> 
> 就是说有重复的patterns串,用trie的要注意这个地方
> 我是用并查集处理这个问题的,hoho,尽管比较弱
> 

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