fix printBoard index

This commit is contained in:
Sandipsinh Rathod 2024-10-11 13:47:55 -04:00
parent 3cbb9989c6
commit 3d9ddad0b6
No known key found for this signature in database

@ -258,6 +258,9 @@ void printBoard(char **board, int x, int y) {
pt ' ';
}
for (int j = 0; j < y; ++j) {
if (!j) {
pt ' ';
}
pt ans[i][j];
}
pt nl;