Skip to content

Commit

Permalink
Update ac-nuske.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
freakin23 committed Sep 21, 2024
1 parent 47d07ef commit b84bfa7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions solutions/silver/ac-nuske.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ for i in range(1, n + 1):
pref[i][j] += 1

"""
1
1 1
Two connected componets merge!
"""
1
1 1
Two connected componets merge!
"""
if grid[i - 1][j] and grid[i][j - 1]:
pref[i][j] -= 1

Expand Down

0 comments on commit b84bfa7

Please sign in to comment.