diff --git a/problems/0695.岛屿的最大面积.md b/problems/0695.岛屿的最大面积.md index b8b2ea72..3dd181a3 100644 --- a/problems/0695.岛屿的最大面积.md +++ b/problems/0695.岛屿的最大面积.md @@ -418,7 +418,7 @@ impl Solution { } pub fn dfs( - grid: &Vec>, + grid: &[Vec], visited: &mut [Vec], (x, y): (i32, i32), count: &mut i32, @@ -463,7 +463,7 @@ impl Solution { } pub fn dfs( - grid: &Vec>, + grid: &[Vec], visited: &mut [Vec], (x, y): (i32, i32), count: &mut i32,