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:AC了,给大家提供一组易错的数据

Posted by y07yangruilong at 2007-11-05 18:27:38 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