Add solution for day 10.

For some reason, day 10 won't run that well with pypy, so I disabled
trying pypy in the runner script.
This commit is contained in:
Bert Peters
2015-12-10 11:57:42 +01:00
parent 480978aef8
commit b1956e0d5a
2 changed files with 31 additions and 7 deletions

View File

@@ -2,12 +2,6 @@
rundir()
{
if hash pypy &> /dev/null; then
python=pypy
else
python=python
fi
input=""
if [ -f $1/input.txt ]; then
input="$1/input.txt"
@@ -15,7 +9,8 @@ rundir()
for i in $1/*.py; do
echo "$i" "$input"
$python "$i" "$input"
python "$i" "$input"
echo
done
}