summaryrefslogtreecommitdiff
path: root/input/day5_ex.txt
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-12-05 22:46:27 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-12-05 22:46:27 +0000
commit4fcbe72a62529745a85011552ae1a6659d770f93 (patch)
tree2bc394ad69d605702440cb0eb8cdcf910536efee /input/day5_ex.txt
parent11a3e07268362bc1ee61b9d3f5fa6db6e12ac707 (diff)
downloadaoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.tar.gz
aoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.tar.bz2
aoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.tar.xz
aoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.zip
day5
Not super happy with this, fell back to iterative programming pretty heavily (: Also a ton of .unwrap(), but this is an artifical problem not a real world
Diffstat (limited to 'input/day5_ex.txt')
-rw-r--r--input/day5_ex.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/input/day5_ex.txt b/input/day5_ex.txt
new file mode 100644
index 0000000..e98aba4
--- /dev/null
+++ b/input/day5_ex.txt
@@ -0,0 +1,9 @@
+ [D]
+[N] [C]
+[Z] [M] [P]
+ 1 2 3
+
+move 1 from 2 to 1
+move 3 from 1 to 3
+move 2 from 2 to 1
+move 1 from 1 to 2 \ No newline at end of file