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

AC了,给大家提供一组易错的数据

Posted by sunset at 2007-05-27 22:39:14 on Problem 1816
In Reply To:WA死了,请教此题阴险的地方,谢谢! Posted by:sunset at 2007-05-27 21:18:04
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