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:ExKmp不行么?

Posted by DMKaplony at 2010-03-30 17:30:29 on Problem 2752
In Reply To:ExKmp不行么? Posted by:DMKaplony at 2010-03-29 19:39:39
知道了。。 
                if (next[i - k] > far - i + 1){

应该是
                if (next[i - k] >= far - i + 1){

。。低级错误。。

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