aboutsummaryrefslogtreecommitdiff
path: root/day19/entrypoint
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-12-19 17:48:09 +0000
committerNat Lasseter <user@4574.co.uk>2019-12-19 17:48:09 +0000
commitcb2cfa0ac23d7daf7f7eb601783adc5f30a35d67 (patch)
tree036cfd53304efce97aaba3a2ba17f76d21c56020 /day19/entrypoint
parentd3107bc313c1cf52e7df9eb9d8ec1fe402416e3c (diff)
Day19 part1, runs forever. looks like an 'understanding the input' type problem.HEADmaster
Diffstat (limited to 'day19/entrypoint')
-rwxr-xr-xday19/entrypoint13
1 files changed, 13 insertions, 0 deletions
diff --git a/day19/entrypoint b/day19/entrypoint
new file mode 100755
index 0000000..8982d21
--- /dev/null
+++ b/day19/entrypoint
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+if [ -x part1 ] ; then
+ echo -ne "Part 1:\n\t"
+ time ./part1 < input
+fi
+if [ -x part1 -a -x part2 ] ; then
+ echo
+fi
+if [ -x part2 ] ; then
+ echo -ne "Part 2:\n\t"
+ time ./part2 < input
+fi