上进小青年

导航

2016年10月8日

二分图染色法查找增广轨

摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int mp[1004][1004]; 7 int n,m; 8 int col[1004]; 9 bool isbg; 10 void dfscol(int i,int c){///i代表结点,c代表颜色 11 if(!isbg)retu... 阅读全文

posted @ 2016-10-08 16:38 上进小青年 阅读(122) 评论(0) 推荐(0) 编辑