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:qsort思路

Posted by zihuacs at 2010-05-30 11:27:47 on Problem 3630
In Reply To:qsort思路 Posted by:HIT_Happy at 2010-03-09 13:38:24
> 可以首先字符串进行排序,
> 通过排序,前缀子串肯定是与父串挨着的,
> 这样只要判断相邻的就可以啦,所以很简单的,最后是172ms

谢了

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