2012年5月7日
摘要: wa找不到原因,却是In the next k lines, there is a pair of integers (x, y) in each line, which represents a hole in the y-th row, the x-th column。关键在于建立图的过程,本题是典型的黑白染色法建立图形,#include <iostream>#include <cstring>#include <cstdio>using namespace std;const int MAXN = 35*35;int vN, uN;bool g[MAX 阅读全文
posted @ 2012-05-07 07:55 猿类的进化史 阅读(329) 评论(0) 推荐(0) 编辑