Add part two readme for day 1
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Day 1: Secret Entrance
|
||||
|
||||
## Part one
|
||||
|
||||
The Elves have good news and bad news.
|
||||
|
||||
The good news is that they've discovered project management! This has given them the tools they need to prevent their usual Christmas emergency. For example, they now know that the North Pole decorations need to be finished soon so that other critical tasks can start on time.
|
||||
@@ -47,17 +49,49 @@ L82
|
||||
|
||||
Following these rotations would cause the dial to move as follows:
|
||||
|
||||
The dial starts by pointing at 50.
|
||||
The dial is rotated L68 to point at 82.
|
||||
The dial is rotated L30 to point at 52.
|
||||
_The dial is rotated R48 to point at 0._
|
||||
The dial is rotated L5 to point at 95.
|
||||
The dial is rotated R60 to point at 55.
|
||||
_The dial is rotated L55 to point at 0._
|
||||
The dial is rotated L1 to point at 99.
|
||||
_The dial is rotated L99 to point at 0._
|
||||
The dial is rotated R14 to point at 14.
|
||||
The dial is rotated L82 to point at 32.
|
||||
- The dial starts by pointing at 50.
|
||||
- The dial is rotated L68 to point at 82.
|
||||
- The dial is rotated L30 to point at 52.
|
||||
- _The dial is rotated R48 to point at 0._
|
||||
- The dial is rotated L5 to point at 95.
|
||||
- The dial is rotated R60 to point at 55.
|
||||
- _The dial is rotated L55 to point at 0._
|
||||
- The dial is rotated L1 to point at 99.
|
||||
- _The dial is rotated L99 to point at 0._
|
||||
- The dial is rotated R14 to point at 14.
|
||||
- The dial is rotated L82 to point at 32.
|
||||
|
||||
__Because the dial points at 0 a total of three times during this process, the password in this example is 3.__
|
||||
|
||||
Analyze the rotations in your attached document. What's the actual password to open the door?
|
||||
Analyze the rotations in your attached document. What's the actual password to open the door?
|
||||
|
||||
## Part two
|
||||
|
||||
You're sure that's the right password, but the door won't open. You knock, but nobody answers. You build a snowman while you think.
|
||||
|
||||
As you're rolling the snowballs for your snowman, you find another security document that must have fallen into the snow:
|
||||
|
||||
"Due to newer security protocols, please use password method 0x434C49434B until further notice."
|
||||
|
||||
You remember from the training seminar that "method 0x434C49434B" means you're actually supposed to __count the number of times any click causes the dial to point at 0__, regardless of whether it happens during a rotation or at the end of one.
|
||||
|
||||
Following the same rotations as in the above example, the dial points at zero a few extra times during its rotations:
|
||||
|
||||
- The dial starts by pointing at 50.
|
||||
- The dial is rotated L68 to point at 82; during this rotation, it __points at 0__ once.
|
||||
- The dial is rotated L30 to point at 52.
|
||||
- The dial is rotated R48 to __point at 0__.
|
||||
- The dial is rotated L5 to point at 95.
|
||||
- The dial is rotated R60 to point at 55; during this rotation, it __points at 0__ once.
|
||||
- The dial is rotated L55 to __point at 0__.
|
||||
- The dial is rotated L1 to point at 99.
|
||||
- The dial is rotated L99 to __point at 0__.
|
||||
- The dial is rotated R14 to point at 14.
|
||||
- The dial is rotated L82 to point at 32; during this rotation, it __points at 0__ once.
|
||||
|
||||
|
||||
In this example, the dial points at 0 __three times at the end__ of a rotation, __plus three more times during__ a rotation. So, in this example, __the new password would be 6__.
|
||||
|
||||
Be careful: if the dial were pointing at 50, a single rotation like R1000 would cause the dial to point at 0 ten times before returning back to 50!
|
||||
|
||||
Using password method 0x434C49434B, what is the password to open the door?
|
||||
Reference in New Issue
Block a user