摘要: 水域大小 这里图也是有含义的,每次搜索的是该点的周围8个。(节点有i * j个) class Solution { private int[][] dirs = new int[][]{{1, 1}, {1, -1}, {1, 0}, {-1, 0}, {-1, -1}, {-1, 1}, {0, 阅读全文
posted @ 2021-01-07 11:21 CPJ31415 阅读(97) 评论(0) 推荐(0)