mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9daa2bbb3d
commit
4279985962
|
@ -62,10 +62,10 @@ class Solution(object):
|
|||
rows[row] |= bit
|
||||
cols[col] |= bit
|
||||
boxes[(row // 3) * 3 + (col // 3)] |= bit
|
||||
|
||||
|
||||
if solve():
|
||||
return True
|
||||
|
||||
|
||||
board[row][col] = '.'
|
||||
rows[row] &= ~bit
|
||||
cols[col] &= ~bit
|
||||
|
|
Loading…
Reference in New Issue
Block a user