day 24
This commit is contained in:
@@ -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
|
@@ -1,2 +0,0 @@
|
||||
inp x
|
||||
mul x -1
|
@@ -1,4 +0,0 @@
|
||||
inp z
|
||||
inp x
|
||||
mul z 3
|
||||
eql z x
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user