Merge pull request #1763 from Undertone0809/patch-2

update 0695.岛屿的最大面积.md
This commit is contained in:
程序员Carl 2022-12-04 10:44:23 +08:00 committed by GitHub
commit e7f3d8dd29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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)