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:求助大牛

Posted by mq_miqing at 2010-02-21 15:06:24 on Problem 2761
In Reply To:求助大牛 Posted by:skywalker_q at 2010-02-11 09:32:15
用size域进行维护,size[i]=size[left[i]]+size[right[i]]+1
可以参见SBT

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