aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2022-12-07 13:02:47 +0100
committerJulien Dessaux2022-12-07 13:03:16 +0100
commit5075b02c544076ad7f9f8d4a02042b4677d178b4 (patch)
treed2121c2dbc5bae5aa82a0cdf1c9d05c3ec3026f8
parent2022-06 in zig (diff)
downloadadvent-of-code-5075b02c544076ad7f9f8d4a02042b4677d178b4.tar.gz
advent-of-code-5075b02c544076ad7f9f8d4a02042b4677d178b4.tar.bz2
advent-of-code-5075b02c544076ad7f9f8d4a02042b4677d178b4.zip
2022-03 part 1 in befunge!
-rw-r--r--2022/03-rucksack-reorganization/example1
-rw-r--r--2022/03-rucksack-reorganization/first.b988
-rw-r--r--2022/03-rucksack-reorganization/input1
3 files changed, 8 insertions, 2 deletions
diff --git a/2022/03-rucksack-reorganization/example b/2022/03-rucksack-reorganization/example
index 156e424..f17e726 100644
--- a/2022/03-rucksack-reorganization/example
+++ b/2022/03-rucksack-reorganization/example
@@ -4,4 +4,3 @@ PmmdzqPrVvPwwTWBwg
wMqvLMZHhHMvwLHjbvcjnnSBnvTQFn
ttgJtRGJQctTZtZT
CrZsJsPPZsGzwwsLwLmpwMDw
-
diff --git a/2022/03-rucksack-reorganization/first.b98 b/2022/03-rucksack-reorganization/first.b98
new file mode 100644
index 0000000..d8abfbb
--- /dev/null
+++ b/2022/03-rucksack-reorganization/first.b98
@@ -0,0 +1,8 @@
+p;tot-len-i-j; v
+##############
+>#;~:a-#v_v@,a.g00;>10p
+ v1p1g01< >$20p >10g2/30p20g1g>:30g1g-#v_v
+ >0g1v;n20g1+20p^ v_;#-g 01:+1g03< :
+^p01+< v;>30p ^; +1-a'<
+ vwZ'<
+^p010p00+g00 < ++fc-A'<<
diff --git a/2022/03-rucksack-reorganization/input b/2022/03-rucksack-reorganization/input
index 595d32a..3b759d1 100644
--- a/2022/03-rucksack-reorganization/input
+++ b/2022/03-rucksack-reorganization/input
@@ -298,4 +298,3 @@ sLrdfbsMcbMRZZZbbsfrsrNgGNglRwllRnJnwFvnFHnG
lWWVTJlJCTTzDdWzqdtFFt
PvPvrhbjhgSjvJQSnQRbjZDZFFHMtGGqFtRMGZFtGH
rhPrSgfvJPfmwsTpLcsV
-