摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 const int N=110; 6 int g[N][N]; 7 int r[N][N];//模型图 8 int c[N];// 染的颜色 9 int num[N][2]; int snt; // 联通分量 10 int s[N]; //每个点所属联通分量... 阅读全文