feat: Replace "\n" -> std::endl (#1530)

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Jxtopher 2021-07-09 21:00:34 +02:00 committed by GitHub
parent 34556ad939
commit 1ab5e4e564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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