diff options
Diffstat (limited to '2025/10/puzzle-1.py')
| -rwxr-xr-x | 2025/10/puzzle-1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2025/10/puzzle-1.py b/2025/10/puzzle-1.py index d27db0c..e3bd232 100755 --- a/2025/10/puzzle-1.py +++ b/2025/10/puzzle-1.py @@ -39,7 +39,7 @@ def main() -> None: def fewest_clicks(mach: Machine) -> int: for i in itertools.count(start=1): - for comb in itertools.combinations_with_replacement(mach.buttons, i): + for comb in itertools.combinations(mach.buttons, i): if functools.reduce(operator.xor, comb) == mach.target: return i # NOTREACHED |