dfs 剪枝 终止条件:solve it again