摘要: int mp[maxn][maxn]; int book[maxn],vis[maxn],sum; bool dfs(int x) { for(int i=1;i<=m;i++) { if(mp[x][i]&&!vis[i]){ vis[i]=1; if(book[i]==0||dfs(book[i])){ ... 阅读全文
posted @ 2017-11-09 23:17 啦啦啦天啦噜 阅读(179) 评论(0) 推荐(0) 编辑