Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

vector TLE 链表 AC 的真相

Posted by iSea at 2011-11-11 15:38:50 on Problem 1724
根本不是什么STL效率的问题
只是数据的原因罢了,爆搜本来就是乱搞的做法

vector 是 push_back
链表大多是头插法

而数据恰好需要倒着扫描找到一个最优解来剪枝
不然倒着扫描你的vector试试看吧

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator