Merge pull request #1763 from Undertone0809/patch-2
update 0695.岛屿的最大面积.md
This commit is contained in:
commit
e7f3d8dd29
|
|
@ -197,7 +197,6 @@ class Solution:
|
|||
if not visited[i][j] and grid[i][j] == 1:
|
||||
# 每一个新岛屿
|
||||
self.count = 0
|
||||
print(f'{self.count}')
|
||||
self.bfs(grid, visited, i, j)
|
||||
result = max(result, self.count)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue