JOIN
Get Time
forums  Revision History
Search My Post History  |  My Watches  |  User Settings
Forums TopCoder Cookbook Algorithm Competitions - New Recipes Re: 2.4.? Commonly used DP state domains Revision History (1 edit)
Re: 2.4.? Commonly used DP state domains (response to post by syg96)
In this line if(nj <= space && maxcost[ni][nj] > nmc), it must be if(nj <= space && maxcost[ni][nj] < nmc)
Re: 2.4.? Commonly used DP state domains (response to post by syg96)
In this line if(nj <= space && maxcost[ni][nj] > nmc)
, it must be if(nj <= space && maxcost[ni][nj] < nmc)