摘要: 存一份好一点的强连通模板,主要是数组特别多,要注意初始化!!!不然各种问题,数组越界,值特别大之类的 - -大致题意: 有n个帅哥要泡n个美女。对于每个帅哥,给出他可以选择的美女序号。然后给出一个可行的匹配。对于每个帅哥,求出他可以选择哪些美女,才能使得所有帅哥都有马子泡。View Code #include <iostream>#include <cstdio>#include <cstring>#include <algorithm>#include <stack>using namespace std;#define Max 4 阅读全文
posted @ 2013-03-20 20:26 gray035 阅读(125) 评论(0) 推荐(0) 编辑