Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Lance-Drane <ldraneutk@gmail.com>
  • Loading branch information
Lance-Drane committed Apr 29, 2024
1 parent 2affe6c commit 86d9854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/range_forest_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fn solve<W: std::io::Write>(mut scan: UnsafeScanner, out: &mut W) {
forest[row_idx * (n + 1) + col_idx] = forest[(row_idx - 1) * (n + 1) + col_idx]
+ forest[row_idx * (n + 1) + col_idx - 1]
- forest[(row_idx - 1) * (n + 1) + col_idx - 1]
+ ((cell == b'*') as u32)
+ u32::from(cell == b'*')
}
}

Expand Down

0 comments on commit 86d9854

Please sign in to comment.