|
|
back to boardGive please any hints, how to solve this problem. I get TLE(16) Re: Give please any hints, how to solve this problem. I get TLE(16) DP on Amount x Remainder (100x50), then continusously subtract calculated amounts with 1... 2... 3... from given index. Once it becomes strictly less than current number - proceed deeper for the next value. |
|
|