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

交了好几次,TLE了好几次 说说这个题的一点小 tips

Posted by acleast at 2010-07-24 15:53:41 on Problem 2965
方法就不用说了,前面的已经说的很多了。
二进制值最后放在一个数组里,不要每次都用移位运算。
开始用c++交一直TLE,用G++交神奇的300+MS。
用优先队列,大顶堆,G++延长到400+MS,可是用c++提交却能神奇的以500+MS AC掉

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