Skip to content

Commit 5244f8d

Browse files
committed
wip
1 parent 13951be commit 5244f8d

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

2024/Day21/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## --- Day 21: Keypad Conundrum ---
2-
As you teleport onto Santa's [Reindeer-class starship](/2019/day/25), The Historians begin to panic: someone from their search party is <em>missing</em>. A quick life-form scan by the ship's computer reveals that when the missing Historian teleported, he arrived in another part of the ship.
2+
As you teleport onto Santa's _Reindeer-class starship_, The Historians begin to panic: someone from their search party is <em>missing</em>. A quick life-form scan by the ship's computer reveals that when the missing Historian teleported, he arrived in another part of the ship.
33

44
The door to that area is locked, but the computer can't open it; it can only be opened by <em>physically typing</em> the door codes (your puzzle input) on the numeric keypad on the door.
55

66
_Visit the website for the full story and [full puzzle](https://adventofcode.com/2024/day/21) description._
7+
8+
Work In Progress...

2024/Day21/Solution.cs

+13
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ namespace AdventOfCode.Y2024.Day21;
1111
[ProblemName("Keypad Conundrum")]
1212
class Solution : Solver {
1313

14+
/*
15+
_________ _______
16+
|\ /|\__ __/( ____ )
17+
| ) ( | ) ( | ( )|
18+
| | _ | | | | | (____)|
19+
| |( )| | | | | _____)
20+
| || || | | | | (
21+
| () () |___) (___| )
22+
(_______)\_______/|/
23+
24+
*/
25+
26+
1427
public object PartOne(string input) {
1528
return input.Split("\n").Sum(line => Solve2(line, 2).Item1);
1629
}

0 commit comments

Comments
 (0)