This commit is contained in:
2022-03-25 16:08:54 +01:00
parent b64bc6c1d5
commit f807acc983
6 changed files with 34 additions and 22 deletions

View File

@@ -1,11 +0,0 @@
inp w
add z w
mod z 2
div w 2
add y w
mod y 2
div w 2
add x w
mod x 2
div w 2
mod w 2

View File

@@ -1,2 +0,0 @@
inp x
mul x -1

View File

@@ -1,4 +0,0 @@
inp z
inp x
mul z 3
eql z x

View File

@@ -59,4 +59,11 @@ MONAD imposes additional, mysterious restrictions on model numbers, and legend s
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?
To begin, get your puzzle input.
Your puzzle answer was 98998519596997.
--- Part Two ---
As the submarine starts booting up things like the Retro Encabulator, you realize that maybe you don't need all these submarine features after all.
What is the smallest model number accepted by MONAD?
Your puzzle answer was 31521119151421.