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

呵呵。。trie树 搞定

Posted by joy_w at 2010-01-07 10:52:28 on Problem 1171 and last updated at 2010-01-07 11:01:39
注意一下最多有2个单词组合;
然后是不要将不是 "收集的字母" 的子集的单词加入trie树中,否则会超时;
that's it;

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