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 newdive at 2011-11-15 19:22:30 on Problem 3468
In Reply To:雁过留声——树状数组的扩展应用 Posted by:fanhqme at 2009-11-22 20:18:20
sum{A[i]|i<=a}=sum{B1[i]|i<=a}+(sum{B2[i]|1<=i<=N}-sum{B2[i]|i<=a})*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