aoc::year2018

Module day11

Source
Expand description

Ā§Chronal Charge

Building a summed-area table allows us to compute the power of any rectangle with only 4 array lookups.

This makes the total complexity O(nĀ³), however the calculation for each size is independent so we can parallelize over multiple threads.

StructsĀ§

FunctionsĀ§