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

Re:wrong test case!

Posted by bpt at 2009-04-05 14:52:20 on Problem 3729
In Reply To:wrong test case! Posted by:majia_ at 2009-04-05 14:42:14
> 5 5 2
> 1 2 1 2 3
> 1 2 3 4 5
> 
> 答案应该是1,而不是2
> 因为
> the extended string of S3 should NOT be the substring of S2.
> 而且if S3 does not have a succeed character in S1, the extended string of S3 is just S3
> 那么只有第一次出现的1 2满足条件
> 最后的2 3,其extended string是2 3,不满足条件
应该是0和2位置上的 (12)串算2个吧。

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