Expand description
ยงBlizzard Basin
Similar to the previous day we represent the position of elves and blizzards as bits in an
integer in order to efficiently compute the next minute. The grid is much wider than it is tall,
so we transpose it and store each column as bits in a u64, one bit per row. We further
optimize by memoizing the position of vertical blizzards as they repeat every height minutes.
Structsยง
- Basin ๐
Functionsยง
Type Aliasesยง
- Input ๐