From 406b6759440ac235dc4b292550df497fd61fa2c8 Mon Sep 17 00:00:00 2001 From: Dory Date: Thu, 19 Dec 2024 10:48:58 -0800 Subject: [PATCH] make d17p2 sub-ms --- day17/d17p2.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] {