2024 Day 19 Complete!

This commit is contained in:
2024-12-19 07:29:13 -06:00
parent 130904c604
commit 8e9d8dd42c
4 changed files with 513 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ getproblem() {
DIRDY=$DY
fi
if [[ ! -d "$AOCROOT/$YR/day$DY" ]]; then
echo "Making directory: $AOCROOT/$YR/day$DY"
mkdir "$AOCROOT/$YR/day$DY"
fi
cd "$AOCROOT/$YR/day$DY"
@@ -70,7 +71,8 @@ getinput() {
DY=${DY/day/}
fi
if [[ ! -d "$AOCROOT/$YR/day$DIRDY" ]]; then
mkdir "$AOCROOT/$YR/day$DIRDY"
echo "Making directory: $AOCROOT/$YR/day$DY"
mkdir "$AOCROOT/$YR/day$DY"
fi
cd "$AOCROOT/$YR/day$DIRDY"
if [[ -f "input" ]]; then