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 |
/*2352 Accepted 328K 141MS C++ 695B 2010-08-19 19:58:51 */小小地纪念下开始总看不懂,说是树状数组的入门题,可总不知道怎么用, 后来干脆放了,先做了两个求逆序的题,再看着题的解题报告的说明,后理解了算法思想,就打代码给过。 中途给TLE了一次, 树状数组是从1开始的这得注意,当输入数据有0存在时,必须注意每个输入的值加1; 就AC了。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator