inst/solution09.R

library(adventofcode2021)
heights <- read.matrix(input_file(9))
sum(lowest_points(heights) + 1)
prod(basins(heights))
Selbosh/adventofcode2021 documentation built on Jan. 1, 2022, 7:20 p.m.