Fixed a bunch of random little bugs everywhere.

This commit is contained in:
Zed A. Shaw 2024-12-05 10:38:25 -05:00
parent f946d46936
commit 6b3ce5eb3d
9 changed files with 64 additions and 38 deletions

View file

@ -36,4 +36,25 @@
[1, 0, 1000, 2],
[1, 1, 1000, 3]
]
}]
},
{
"input": [
[1, 1, 1, 0],
[1, 1, 1, 1],
[1, 0, 1, 1],
[1, 1, 1, 1]
],
"walls": [
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 1, 0],
[0, 0, 1, 0]
],
"expected": [
[2, 2, 1, 0],
[1, 1, 1, 1],
[1, 0, 1000, 2],
[1, 1, 1000, 3]
]
}
]