Compare commits
2 Commits
126aad4e12
...
c4412f1c79
Author | SHA1 | Date |
---|---|---|
Daniel Ziltener | c4412f1c79 | |
Daniel Ziltener | 5dba90464e |
|
@ -0,0 +1 @@
|
|||
chicken.org
|
10
chicken.org
10
chicken.org
|
@ -9,6 +9,8 @@
|
|||
|
||||
** Part One
|
||||
|
||||
*** Quest
|
||||
|
||||
Something is wrong with global snow production, and you've been selected to take a look. The Elves
|
||||
have even given you a map; on it, they've used stars to mark the top fifty locations that are likely
|
||||
to be having problems.
|
||||
|
@ -51,7 +53,7 @@ Consider your entire calibration document. *What is the sum of all of the calibr
|
|||
|
||||
*** Puzzle Input
|
||||
|
||||
Jump to [[#headline-5][the solution]].
|
||||
Jump to [[#headline-6][the solution]].
|
||||
|
||||
#+NAME: day1-input
|
||||
#+begin_example
|
||||
|
@ -1084,7 +1086,7 @@ eightbqfhnmvqsoneninezbrzcqkz4ftv
|
|||
|
||||
** Part Two
|
||||
|
||||
*** Puzzle Solution
|
||||
*** Quest
|
||||
|
||||
Your calculation isn't quite right. It looks like some of the digits are actually *spelled out with
|
||||
letters*: =one=, =two=, =three=, =four=, =five=, =six=, =seven=, =eight=, and =nine= *also* count as
|
||||
|
@ -1108,6 +1110,8 @@ these together produces =281=.
|
|||
|
||||
*What is the sum of all of the calibration values?*
|
||||
|
||||
*** Puzzle Solution
|
||||
|
||||
#+NAME: day1-solution-2
|
||||
#+begin_src scheme
|
||||
(import (chicken string)
|
||||
|
@ -1147,7 +1151,7 @@ these together produces =281=.
|
|||
((|7| seven) "7")
|
||||
((|8| eight) "8")
|
||||
((|9| nine) "9")
|
||||
; Again, duplicates
|
||||
; Again, duplicates
|
||||
((twone) "21")
|
||||
((eightwo) "82")
|
||||
((nineight) "98")
|
||||
|
|
Loading…
Reference in New Issue