void dfs(int step) { if(边界成立) { 。。。。 return; } for(尝试每一种可能) { 把这种可能标记表示走过 继续下一步dfs(step+1); 把这种可能标记去除 } return; } 赞微海报分享
近期评论