Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.
Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.
[2019 Day 16] Part Three: A fanfiction by askalski
A nice speed up is to realize that you can compute binomMod2 with bitwise operators: