https://kotlinlang.org logo
#advent-of-code
Title
# advent-of-code
k

karelpeeters

12/18/2017, 11:53 PM
I tried combining them into one but I only managed to come up with ugly solutions, the dependency on the register value for part 1 always got in the way.
1
r

robin

12/19/2017, 4:24 PM
Funny enough, I combined them without too many problems, and completely overlooked the register dependency. But that didn't seem to matter for the test input, and neither did it for my input ¯\_(ツ)_/¯
k

karelpeeters

12/19/2017, 4:29 PM
That works too of course... 😃
3 Views