day16 package

Subpackages

Submodules

day16.day16 module

day16 solution.

day16.day16.main() None[source]

Read input and run part1/part2.

day16.day16.part1(world: World) int[source]

Return number of energized tiles.

day16.day16.part2(world: World) int[source]

Calculate most energized tiles by firing laser from every entrypoint.

day16.day16.solve_task(task: Laser, world: World) int[source]

Calculates number of energized tiles.

day16.day16.solve_task_wrapper(args: tuple[Laser, World]) int[source]

Wraps solve_task in multiprocessing, since it only takes one arg.

Module contents

Day16 solution.