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 gaminerie at 2006-08-07 20:01:17 on Problem 2886
In Reply To:Re:建一个域保存该区间还剩多少元素 Posted by:nuanran at 2006-08-07 19:55:00
> 我也是这样,可是还是TLE,我想关键是在把要删除的那个的人所在的区间都减一之后
> ,怎么去找到它后面或则前面的第x个,也就是下一个要删除的人的位置.

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