aboutsummaryrefslogtreecommitdiff
path: root/2023/19-Aplenty/example
diff options
context:
space:
mode:
authorJulien Dessaux2024-06-26 00:03:25 +0200
committerJulien Dessaux2024-06-26 00:22:29 +0200
commit2d84e26c375be7e8cd0710dcfe998e7de99af2f3 (patch)
tree7b18d8df72847bcc6fc0b347d5b85e1cd36aaa49 /2023/19-Aplenty/example
parent2023-18 part 2 in haskell (diff)
downloadadvent-of-code-2d84e26c375be7e8cd0710dcfe998e7de99af2f3.tar.gz
advent-of-code-2d84e26c375be7e8cd0710dcfe998e7de99af2f3.tar.bz2
advent-of-code-2d84e26c375be7e8cd0710dcfe998e7de99af2f3.zip
2023-19 part 1 in haskell
Diffstat (limited to '2023/19-Aplenty/example')
-rw-r--r--2023/19-Aplenty/example17
1 files changed, 17 insertions, 0 deletions
diff --git a/2023/19-Aplenty/example b/2023/19-Aplenty/example
new file mode 100644
index 0000000..e5b5d64
--- /dev/null
+++ b/2023/19-Aplenty/example
@@ -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}