diff --git a/2024/day-10/solution-2.sh b/2024/day-10/solution-2.sh index 2e588ce..2fa0af8 100644 --- a/2024/day-10/solution-2.sh +++ b/2024/day-10/solution-2.sh @@ -4,26 +4,26 @@ FILE=input MAP_WIDTH=$(( $( head -1 "$FILE" | wc -c ) -1 )) MAP_LEN=$( < "$FILE" wc -l ) read -r -a MAP_ARRAY <<< "$( paste -s -d "" <"$FILE" | sed -E 's/(.)(.)/\1 \2 /g' )" -printf "%s " "${MAP_ARRAY[@]}" -printf "\n" +#printf "%s " "${MAP_ARRAY[@]}" +#printf "\n" MAP_SIZE=${#MAP_ARRAY[@]} for (( i=0; i