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

贡献数据,顺便说下题意

Posted by Seen at 2011-01-27 01:48:28 on Problem 3729
6 6 2
5 1 2 3 1 5
2 3 1 5 1 2
答案:2

3 3 1
1 1 1
1 1 1
答案:1

题目意思就是问S1中有多少个长度为K的子串在S2中刚好存在,且再加上后一个字符形成的子串在S2中不存在. 也就是求S1的后缀有多少个和"S2中所有后缀的LCP值中最大的"值为K.

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