Winamax Sponsored Contest (Golf) - Puzzle Discussion

There is a problem with the judgment rules of this question, because the standard answer is not unique. I first used bfs to find the shortest feasible solution, and found that it was not a standard answer, and then used dfs to find the solution, and found that it was not a standard answer either. I can’t find the law of the standard answer, I hope the question can give more information