| ||||||||||
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 |
如果想要改进的话就用记忆话搜索,重叠子问题太严重了,不过这题空间限制太紧了,最好还是递推,用滚动数组In Reply To:Re:大家帮忙看看我的程序,有没有办法改进时间复杂性,老是超时 Posted by:ruanrongbin at 2005-04-07 17:02:26 > 我是用递归实现的,不过每次弟归都要调用两个子程序,复杂性是2的n次方, > 有没有办法改进? > 小弟在此先谢谢了。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator