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:请问几十秒的大牛是用什么方法做的?我只会暴搜,250ms。。。In Reply To:Re:请问几十秒的大牛是用什么方法做的?我只会暴搜,250ms。。。 Posted by:TopSandTea at 2009-08-23 17:59:23 这个方法相当好。 搜索中可以作位运算优化的,把30位看成一个int,这样搜索起来就会快一个数量级了。 也可以直接用dancing links的模板。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator