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:vector TLE 链表 AC 的真相In Reply To:vector TLE 链表 AC 的真相 Posted by:iSea at 2011-11-11 15:38:50 > 根本不是什么STL效率的问题 > 只是数据的原因罢了,爆搜本来就是乱搞的做法 > > vector 是 push_back > 链表大多是头插法 > > 而数据恰好需要倒着扫描找到一个最优解来剪枝 > 不然倒着扫描你的vector试试看吧 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator