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 |
块状数组就能A很水的题,没必要用线段树或树状数组, 虽然我还是写了线段树和树状数组解法练了一下手速…… 不过树状数组的效率是这几个中最快的。。 块状:3.64s 树状:1.00s 线段树:3.68s 块状数组居然比线段树块~~ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator