三着色問題

算法代碼 #include "stdafx.h" #include<stdio.h> #include<stdlib.h> const int N=5; int c[N+1]={0,}; int map[N+1][N+1]={ {0,0,0,0,0,0}, {0,0,1,1,0,0}, {0,1,0,0,1,1}, {0,1,0,0,1,1}, {0,0,1,1,0,1}, {0,0
相關文章
相關標籤/搜索