inst/solution19.R

library(adventofcode2021)
input <- read_scanners(input_file(19))
result <- locate_scanners(input)
nrow(result$beacons)
max(dist(result$scanners, 'manhattan'))
Selbosh/adventofcode2021 documentation built on Jan. 1, 2022, 7:20 p.m.