Skip to content

Commit

Permalink
Update 1591.Strange-Printer-II_bfs.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wisdompeak authored Sep 20, 2020
1 parent 4efc338 commit 2a5cf0a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions BFS/1591.Strange-Printer-II/1591.Strange-Printer-II_bfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,8 @@ bool bfs()
for (int i=0; i<m; i++)
for (int j=0; j<n; j++)
{
vector<int>label(61,0);
for (int color=1; color<=60; color++)
{
if (left[color]==n) continue;
if (i>=top[color]&&i<=bottom[color]&&j>=left[color]&&j<=right[color])
{
if (color!=targetGrid[i][j])
Expand Down

0 comments on commit 2a5cf0a

Please sign in to comment.