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

貌似只要记录下每个节点搜索到的位置就好了吧……

Posted by 19870909 at 2009-12-04 22:02:37 on Problem 3317
In Reply To:貌似记录所有参数好暴力的说?不懂是否能够配合记忆化... Posted by:wzc1989 at 2009-12-04 21:52:09
就相当于是 搜索了一部份,发现这次不行了,就放弃,记录一下搜索过的部分的最优
下次发现这个结点还有希望,就顺着记录的地方接着搜,直到再次发现不行……
不过我感觉这代码是够恶心的,而且我怀疑效率是否真的会有明显提高……

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