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 20124818 at 2013-08-20 09:27:21 on Problem 3468
http://kenby.iteye.com/blog/962159
            update(c1, s, d);   
            update(c1, t+1, -d);   
            update(c2, s, d*s);   
            update(c2, t+1, -d*(t+1)); 
         他更新的时候为什么是update(c2, t+1, -d*(t+1)); 
                    那它s后多加了d*s 那t+1后面为什么不是update(c2,t+1,-d*s)呢
想了两天还是觉得很深奥,,,,囧。。。。

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