mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-07 04:25:34 +08:00
docs: Various documentation fixes
This commit is contained in:
@@ -55,15 +55,17 @@ void printSolution(int color[]) {
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
// driver program to test above function
|
||||
/**
|
||||
* Main function
|
||||
*/
|
||||
int main() {
|
||||
/* Create following graph and test whether it is 3 colorable
|
||||
(3)---(2)
|
||||
| / |
|
||||
| / |
|
||||
| / |
|
||||
(0)---(1)
|
||||
*/
|
||||
// Create following graph and test whether it is 3 colorable
|
||||
// (3)---(2)
|
||||
// | / |
|
||||
// | / |
|
||||
// | / |
|
||||
// (0)---(1)
|
||||
|
||||
bool graph[V][V] = {
|
||||
{0, 1, 1, 1},
|
||||
{1, 0, 1, 0},
|
||||
|
||||
Reference in New Issue
Block a user