coloring

Download Coloring

If you can't read please download the document

Upload: rizki-ekaputri

Post on 24-Sep-2015

217 views

Category:

Documents


2 download

DESCRIPTION

-

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