aboutsummaryrefslogtreecommitdiff
path: root/aoc2023-other/day-20
diff options
context:
space:
mode:
Diffstat (limited to 'aoc2023-other/day-20')
-rw-r--r--aoc2023-other/day-20/day-20.rkt1
1 files changed, 1 insertions, 0 deletions
diff --git a/aoc2023-other/day-20/day-20.rkt b/aoc2023-other/day-20/day-20.rkt
index 890abc1..eccdd91 100644
--- a/aoc2023-other/day-20/day-20.rkt
+++ b/aoc2023-other/day-20/day-20.rkt
@@ -132,6 +132,7 @@
;; part 2
;; rx receives a tone from gh, which receives four tones itself
;; those tones arrive on regular synced cycles so it's just the LCM of those cycle lengths
+;; and since those cycle lengths are prime, it reduces to the product of the lengths
;; this is a really hacky mutable solution, I'm sure there's better ways of flagging these cycles
;; from the data -- the four conjunctions that indirectly feed rx