mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 02:25:57 +08:00
feat: Replace "\n" -> std::endl (#1530)
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -30,11 +30,11 @@ namespace backtracking {
|
||||
*/
|
||||
template <size_t V>
|
||||
void printSolution(const std::array <int, V>& color) {
|
||||
std::cout << "Following are the assigned colors\n";
|
||||
std::cout << "Following are the assigned colors" << std::endl;
|
||||
for (auto &col : color) {
|
||||
std::cout << col;
|
||||
}
|
||||
std::cout << "\n";
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
/** A utility function to check if the current color assignment is safe for
|
||||
|
||||
Reference in New Issue
Block a user