library(tidyverse)
my_file <- here::here("2021", "data-2021-23.txt")
x <- readLines(my_file)Warning in readLines(my_file): incomplete final line found on
'C:/Users/NathanMoore/code/advent-of-code/2021/data-2021-23.txt'
Nathan Moore
Help organise the amphipods into their burrows.
What is the least energy required to organize the amphipods?
Warning in readLines(my_file): incomplete final line found on
'C:/Users/NathanMoore/code/advent-of-code/2021/data-2021-23.txt'
Maybe write an explanation of the solution approach here
Actually, there’s more amphipods that need organising.
Using the initial configuration from the full diagram, what is the least energy required to organize the amphipods?