lets skip day 21 part 2!
This commit is contained in:
parent
c2acd2f75a
commit
f6799dd691
|
@ -55,3 +55,28 @@
|
||||||
|
|
||||||
(load-file-defs "day21-test.txt")
|
(load-file-defs "day21-test.txt")
|
||||||
(eval root)
|
(eval root)
|
||||||
|
|
||||||
|
(load-file-defs "day21-input.txt")
|
||||||
|
(print (eval root))
|
||||||
|
|
||||||
|
;; now. things are different.
|
||||||
|
;; HUMN is my input
|
||||||
|
;; and ROOT is "comparison of two numbers"
|
||||||
|
;; and change in root can influence results in a significant way
|
||||||
|
;; so, how'd i do that?
|
||||||
|
;;
|
||||||
|
;; what could be done then?
|
||||||
|
;; i could potentially somehow modify the operations?
|
||||||
|
;; so that (eval humn) would return
|
||||||
|
;;
|
||||||
|
;; root: pppw + sjmn
|
||||||
|
;; so. root should mean
|
||||||
|
;; pppw == sjmn
|
||||||
|
;; don't know which has HUMN yet.
|
||||||
|
;; should i then just eval those that have HUMN into a operation?
|
||||||
|
;; and others into a number?
|
||||||
|
;; well, i suppose i'd need to do pass down somehow
|
||||||
|
;; eval both parts of the root.
|
||||||
|
;; and then what?
|
||||||
|
;;
|
||||||
|
;; let's skip for now?
|
||||||
|
|
Loading…
Reference in New Issue