library(tidyverse)
my_file <- here::here("2021", "data-2021-18.txt")
x <- readLines(my_file)2021 Day 18
— Day 18: Snailfish —
We need to help the snailfish with their math homework, but of course it is weird.
Add up all of the snailfish numbers from the homework assignment in the order they appear. What is the magnitude of the final sum?
Loops! Loops and rules.
# here's another R cell for good luckPaste part two here