We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34556ad commit 1ab5e4eCopy full SHA for 1ab5e4e
backtracking/graph_coloring.cpp
@@ -30,11 +30,11 @@ namespace backtracking {
30
*/
31
template <size_t V>
32
void printSolution(const std::array <int, V>& color) {
33
- std::cout << "Following are the assigned colors\n";
+ std::cout << "Following are the assigned colors" << std::endl;
34
for (auto &col : color) {
35
std::cout << col;
36
}
37
- std::cout << "\n";
+ std::cout << std::endl;
38
39
40
/** A utility function to check if the current color assignment is safe for
0 commit comments