blob: 8982d2138f6afb9f9b3c48045a7491221a0b1624 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|