fix printBoard
index
This commit is contained in:
parent
3cbb9989c6
commit
3d9ddad0b6
3
main.cpp
3
main.cpp
@ -258,6 +258,9 @@ void printBoard(char **board, int x, int y) {
|
|||||||
pt ' ';
|
pt ' ';
|
||||||
}
|
}
|
||||||
for (int j = 0; j < y; ++j) {
|
for (int j = 0; j < y; ++j) {
|
||||||
|
if (!j) {
|
||||||
|
pt ' ';
|
||||||
|
}
|
||||||
pt ans[i][j];
|
pt ans[i][j];
|
||||||
}
|
}
|
||||||
pt nl;
|
pt nl;
|
||||||
|
Loading…
Reference in New Issue
Block a user