|
|
back to boardCan we start the walk at any position of the puzzle? Or must start from the upper left corner? I`ve used backtracking and started from all locations. it`s very strange, but I`ve got WA3. Some anothere ideas? No, the idea is right, it gets AC. So, debug your program... Thanks, I have found my bug)) I used DP and had problems with TL... BackTracking has faster solution ... I solved it using Dp, but it needed some optimizations ... I used DFS and had not any troubles) Yes, I used backtracking too, and got wa3(( |
|
|