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 |
三种常用解法的效率比较线段树: 5021003 pyh119 2352 Accepted 1232K 204MS G++ 1445B 2009-04-21 16:53:40 树状数组(这个最快,空间也最少): 5012811 pyh119 2352 Accepted 624K 188MS G++ 739B 2009-04-19 21:57:12 合并排序: 5021045 pyh119 2352 Accepted 824K 204MS G++ 1994B 2009-04-21 16:59:22 由此可见树状数组还是最牛啊。 另外注意:三种方法用cin、cout都是tle,可见数据还是比较bt的。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator