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

这题,数据设计得太无语了,o(m*n)的复杂度,比o(m*logn)的复杂度还快近一倍

Posted by zsasuke at 2009-10-10 12:55:32 on Problem 3419
这题,数据设计得太无语了,o(m*n)的复杂度,比o(m*logn)的复杂度还快近一倍.
强列建议加上200000 200000
然后1 1 1 ......(200000个1)这组数据
把用类似kmp算法的那些给挂掉!

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