Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Ziltener c4412f1c79
Add symlink 2023-12-01 23:34:38 +01:00
Daniel Ziltener 5dba90464e
Slight reorganisation. 2023-12-01 23:33:55 +01:00
2 changed files with 8 additions and 3 deletions

1
README.org Symbolic link
View File

@ -0,0 +1 @@
chicken.org

View File

@ -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")