|
|
вернуться в форумDynamic programming Послано VladG 27 окт 2002 14:09 I succeed to solve it with a dynamic programming algorithm, but the memory limits was very tough. To answer it I had to use 2 arrays: one for the first 300 rows of the array with a type of 4 bytes per number and one for the last 200 rows with a type of 8 bytes per number. Only one array [0..500] need Re: Only one array [0..500] need Послано SunCat 23 ноя 2002 19:26 Any details Can you tell me how to dp? 3q Re: Dynamic programming 20 rows with a type of 8 bytes per number are enough. |
|
|