fix several bugs

This commit is contained in:
krahets
2023-10-17 23:45:31 +08:00
parent 51405c0669
commit 5392afd44b
14 changed files with 15 additions and 15 deletions

View File

@ -13,7 +13,7 @@ func backtrack(state: inout [Int], choices: [Int], selected: inout [Bool], res:
}
//
for (i, choice) in choices.enumerated() {
//
//
if !selected[i] {
//
selected[i] = true