2021 Day 24

Author

Nathan Moore

— Day 24: Arithmetic Logic Unit —

Fix the submarine!

To enable as many submarine features as possible, find the largest valid fourteen-digit model number that contains no 0 digits. What is the largest model number accepted by MONAD?

library(tidyverse)

my_file <- here::here("2021", "data-2021-24.txt")
x <- readLines(my_file)

Maybe write an explanation of the solution approach here

# here's another R cell for good luck

Paste part two here