aboutsummaryrefslogtreecommitdiff
path: root/skel/entrypoint
diff options
context:
space:
mode:
Diffstat (limited to 'skel/entrypoint')
-rwxr-xr-xskel/entrypoint7
1 files changed, 5 insertions, 2 deletions
diff --git a/skel/entrypoint b/skel/entrypoint
index cff9f4c..8982d21 100755
--- a/skel/entrypoint
+++ b/skel/entrypoint
@@ -2,9 +2,12 @@
if [ -x part1 ] ; then
echo -ne "Part 1:\n\t"
- ./part1 < input
+ time ./part1 < input
+fi
+if [ -x part1 -a -x part2 ] ; then
+ echo
fi
if [ -x part2 ] ; then
echo -ne "Part 2:\n\t"
- ./part2 < input
+ time ./part2 < input
fi