版本比较
ABC315D
正文
增加 3 行删除 3 行
41 行未改动4243444546464748495057 行未改动108109110111112113112113114115116117128 行未改动全部展开41 行未改动#include <iostream>#include <set>using namespace std;
#define MAXN 2005 #define MAXN 2005
int row[MAXN][27], col[MAXN][27];
int r[MAXN], c[MAXN];57 行未改动 int su = w * h; while (true) { int e = 0;
cc.clear(); for (int j : co) { if (c[j] == 1 && col[j][26] > 1)128 行未改动全部展开