|  | 
|  | 
| вернуться в форум | Can we start the walk at any position of the puzzle? Can we start the walk at any position of the puzzle? Or must start from the upper left corner?Re: Can we start the walk at any position of the puzzle? I`ve used backtracking and started from all locations.it`s very strange, but I`ve got WA3.
 Some anothere ideas?
 
Re: Can we start the walk at any position of the puzzle? No, the idea is right, it gets AC. So, debug your program...Re: Can we start the walk at any position of the puzzle? Thanks, I have found my bug))Re: Can we start the walk at any position of the puzzle? Yes, I used backtracking too, and got wa3((Re: Can we start the walk at any position of the puzzle? I used DP and had problems with TL... BackTracking has faster solution ...I solved it using Dp, but it needed some optimizations ...
* Послано Брэнд  2 мар 2008 22:01I used DFS and had not any troubles)Re: Can we start the walk at any position of the puzzle? '\n' ))Re: Can we start the walk at any position of the puzzle? I got WA3 too,why? | 
 | 
|