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的时候没注意丢弃掉的节点状态并且重用了,贡献了6次WA

Posted by Zenomyth at 2013-10-12 13:25:19 on Problem 1625
WA又找不到原因的测试一下这组数据

3 2 3
abc
ab
a
ca

ans=4

前面帖子提供的测试数据有些误导,题目中说所有字符都是大于32的,所以输入是不会含有空格的!

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