diff --git a/day17/d17p2.swift b/day17/d17p2.swift index 699310e..8f7b3a0 100644 --- a/day17/d17p2.swift +++ b/day17/d17p2.swift @@ -89,7 +89,7 @@ func possibleAs(fromB5 b5Suffix: Int) -> [Register] { let a = Register(value: (b4^b5Suffix) << aShift, mask: 0b111 << aShift) return a.combine(with: Register(value: aSuffix, mask: 0b111)) } - return choices.sorted() + return choices } func findA(from a: Register, _ outputs: [Int]) -> [Register] {