摘要:
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 阅读全文