aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2023/day19/eg-in
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-12-20 07:49:53 +0100
committerOscar Najera <hi@oscarnajera.com>2023-12-20 07:49:53 +0100
commit889849613fd6afb6b2d7e6f64a513be3c72fcdf0 (patch)
tree0e23744d6de0555045c72e17992813308d750308 /AoC2023/day19/eg-in
parent2f95eb9292719cdcb597937f2afd8e2b67b14e20 (diff)
downloadscratch-889849613fd6afb6b2d7e6f64a513be3c72fcdf0.tar.gz
scratch-889849613fd6afb6b2d7e6f64a513be3c72fcdf0.tar.bz2
scratch-889849613fd6afb6b2d7e6f64a513be3c72fcdf0.zip
[AoC2023] day19 part 1 lisp
Diffstat (limited to 'AoC2023/day19/eg-in')
-rw-r--r--AoC2023/day19/eg-in17
1 files changed, 17 insertions, 0 deletions
diff --git a/AoC2023/day19/eg-in b/AoC2023/day19/eg-in
new file mode 100644
index 0000000..e5b5d64
--- /dev/null
+++ b/AoC2023/day19/eg-in
@@ -0,0 +1,17 @@
+px{a<2006:qkq,m>2090:A,rfg}
+pv{a>1716:R,A}
+lnx{m>1548:A,A}
+rfg{s<537:gd,x>2440:R,A}
+qs{s>3448:A,lnx}
+qkq{x<1416:A,crn}
+crn{x>2662:A,R}
+in{s<1351:px,qqz}
+qqz{s>2770:qs,m<1801:hdj,R}
+gd{a>3333:R,R}
+hdj{m>838:A,pv}
+
+{x=787,m=2655,a=1222,s=2876}
+{x=1679,m=44,a=2067,s=496}
+{x=2036,m=264,a=79,s=2244}
+{x=2461,m=1339,a=466,s=291}
+{x=2127,m=1623,a=2188,s=1013}