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

dp vector + bitset

Posted by HowLongTheIDCanBe at 2009-08-23 19:20:45 on Problem 3740
In Reply To:Re:请问几十秒的大牛是用什么方法做的?我只会暴搜,250ms。。。 Posted by:MasterLuo at 2009-08-23 18:06:51
> 这个方法相当好。
> 搜索中可以作位运算优化的,把30位看成一个int,这样搜索起来就会快一个数量级了。
> 也可以直接用dancing links的模板。

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