摘要: 1 vector<int> p[MAX]; 2 int V; 3 int color[MAX]; 4 5 bool dfs(int v,int c) 6 { 7 color[v]=c; 8 for(int i=0; i<p[v].size(); i++){ 9 if(color[p[v][i]==c 阅读全文
posted @ 2016-03-10 20:15 Vmetrio 阅读(217) 评论(0) 推荐(0)