mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
fix: Add spaces between numbers
This commit is contained in:
parent
f4c187b9ae
commit
de5f695afa
@ -33,7 +33,7 @@ void printSolution(const std::array<std::array<int, n>, n> &board) {
|
|||||||
std::cout << "\n";
|
std::cout << "\n";
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
for (int j = 0; j < n; j++) {
|
for (int j = 0; j < n; j++) {
|
||||||
std::cout << "" << board[i][j];
|
std::cout << "" << board[i][j] << " ";
|
||||||
}
|
}
|
||||||
std::cout << "\n";
|
std::cout << "\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user