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

G题题意

Posted by RoBa at 2009-11-08 11:16:47
In Reply To:Re:K是大水不说了,B,J题意见内: Posted by:RoBa at 2009-11-08 10:37:10
模糊前缀匹配。给定一个字典,给定一系列查询,每个查询包括一个字串w和一个阈值d,如果字典中某个单词的某个前缀与w的编辑距离不超过d,则认为匹配上这个单词,对每个查询输出能匹配上词典中多少词。

字典300000,查询300,0 <= d <= 2,单词和w长度<=10

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