Download - Coloring

Transcript

#include #define A 7void cetak(int warna[]);bool check(int j, bool matrix[A][A], int warna[], int c){for (int i = 0; i < A; i++)if (matrix[j][i] && c == warna[i])return false;return true;}{if (j == A)return true;for (int c = 1; c


Top Related