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:一点疑问In Reply To:Re:此题为最基本的动态规划。思路如下。 Posted by:200593141 at 2007-09-05 20:26:38 初始化应当置无穷大,因为是求最小值,如果初始就置0的话,在后面的比较中肯定有0就取0,而这显然是错的,应当是从大到小逐步求出最优解 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator