|
|
вернуться в форумIs there more simple, mathematical way to solve this problem? Is there more simple, mathematical way to solve this problem other than actually play the game with some smart heuristics (what I did in my solution)? Re: Is there more simple, mathematical way to solve this problem? yes, there is :) I used no array, just 4 variables n,t and legendary pair i,j ;) Re: Is there more simple, mathematical way to solve this problem? I used greedy approach. Prefer jumping to movement. Do not allow blockades. In case of tie keep empty space closer to border. Re: Is there more simple, mathematical way to solve this problem? I used simple brute-force =) |
|
|