摘要: 题目: //多元广度优先搜索(bfs)模板题详细注释题解(c++)class Solution { int cnt; //新鲜橘子个数 int dis[10][10]; //距离 int dir_x[4]={0, 1, 0, -1}; int dir_y[4]={1, 0, -1, 0}; //表示 阅读全文
posted @ 2020-03-04 16:49 然终酒肆 阅读(765) 评论(0) 推荐(0)