Bit of debugging

This commit is contained in:
Logiar 2024-12-05 15:05:43 +01:00
parent 12cab8af56
commit 143679ec7e
Signed by: Logiar
SSH Key Fingerprint: SHA256:tq77C31em1ZG4oELIHC3k62wq5UzPSXmhqH8g62whIY
3 changed files with 3803 additions and 1 deletions

@ -53,7 +53,6 @@ jobs:
echo "Skipping $script: No input found for $dayname" | tee -a solutions-output.txt
continue
fi
echo "$input_var"
echo "Running $script with input from $dayname" | tee -a solutions-output.txt
echo "$input_var" | kotlin $script 2>&1 | tee -a solutions-output.txt
done

@ -34,6 +34,7 @@ for (y in ycoordinates.indices) {
}
fun findXmas(y: Int, x: Int): Int {
println("x: $x, y: $y")
var xmasfound = 0
for (searchOffset in xMasSearchOffsets) {
val last = searchOffset.last()

File diff suppressed because it is too large Load Diff