摘要: 原题点这里 bfs可以实现。这里注意的是,机器人从00出发,我们只要向右,向下走就可以了 public static int movingCount(int m, int n, int k) { int[] dx=new int[] {-1,1,0,0}; int[] dy = new int[]{ 阅读全文
posted @ 2020-04-08 20:33 超级学渣渣 阅读(425) 评论(0) 推荐(0) 编辑