aboutsummaryrefslogtreecommitdiff
path: root/2021/02/second.b98
diff options
context:
space:
mode:
authorJulien Dessaux2021-12-07 14:26:36 +0100
committerJulien Dessaux2021-12-07 14:26:36 +0100
commit6ed18289c89eaff3557907df63cf58bd2009b3ee (patch)
tree903d730030c18ab25c212938794c1c03f65f800f /2021/02/second.b98
parentInitial import (diff)
downloadadvent-of-code-6ed18289c89eaff3557907df63cf58bd2009b3ee.tar.gz
advent-of-code-6ed18289c89eaff3557907df63cf58bd2009b3ee.tar.bz2
advent-of-code-6ed18289c89eaff3557907df63cf58bd2009b3ee.zip
Added the first days
Diffstat (limited to '2021/02/second.b98')
-rw-r--r--2021/02/second.b985
1 files changed, 5 insertions, 0 deletions
diff --git a/2021/02/second.b98 b/2021/02/second.b98
new file mode 100644
index 0000000..2c5504c
--- /dev/null
+++ b/2021/02/second.b98
@@ -0,0 +1,5 @@
+v pos in 0,0, depth in 1,0, aim in 2,0
+>00p10p20p>#;~:'f-#v_$&:00g+00p v@,a.*g01g00;
+ >'d-#v_$&20g+20pv>20g*10g+10pv
+ >&20g\-20p v <
+ ^ ;,a.g01.g00; ~ << # we do not forget to strip the \n from the input