Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:树状数组也超时的,那菜鸟只能无语,收山回林娶老婆!In Reply To:Re:树状数组也超时的,那菜鸟只能无语,收山回林娶老婆! Posted by:Liuzhaoliang at 2009-08-18 08:50:22 > 就是你说的那里错了,你每次在区间上加数,都是nlogn的复杂度。 看 内功心法吧。有介绍,是线段树的经典题目。 LZ太强大了,区间修改区间查询竟然能树状数组! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator