update 0695.岛屿的最大面积.md

This commit is contained in:
Zeeland 2022-11-19 09:50:57 +08:00 committed by GitHub
parent 1f8ea7bb87
commit 65857d1533
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)