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 |
其实这个题目最主要剪枝就是:当刚开始拼接一个棒的时候,必须要选择当前没有用的最长的小棒,进入递归。剪掉最外层的循环次数,效率的提高不可同日而语啊RT Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator