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 BBTiger at 2010-08-03 23:35:33 on Problem 2104
In Reply To:快排7032MS水过 Posted by:donkeyinacm at 2010-03-08 20:27:02
if(a<=N[p].pos&&N[p].pos<=b)
换成
if(b>=N[p].pos&&N[p].pos>=a)
就超时了
这算是擦边球过的办法,我还是去学划分树吧

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