[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-11 14:42:35 +00:00
parent 9daa2bbb3d
commit 4279985962

View File

@ -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