|
|
back to boardI solved using DP, time=0.125, memory=4M How to solve it faster and use less memory? Edited by author 01.07.2009 17:14 Re: I solved using DP, time=0.125, memory=4M I've solved this problem without DP. I used recursion. Time is 0.062, memory - 125 KB. |
|
|