版本比较
_
正文
增加 10 行删除 10 行
9 行未改动1011121314141516171829 行未改动4849505152525354555614 行未改动71727374757576777879100 行未改动18018118218318418418518618718818818919019119210 行未改动20320420520620720720820921021129 行未改动24124224324424524524624724824914 行未改动26426526626726826826927027127298 行未改动3713723733743753753763773783793793803813823832 行未改动9 行未改动vector<int> b[10005];void add(int x,int y){ b[x].push_back(y); b[y ^ 1].push_back(x ^ 1); //cout << x << " " << y << "\n\n"; //cout << x << " " << y << "\n\n";}int dfs(int x,int y,int fx,int fy){ if(x < 0 || x > n || y < 0 || y > m || s[x][y] == '#'){ return 0;29 行未改动}int dfn[10005],low[10005],cnt2,ins[10005],flag[10005],cnt3,st[10005],cntst;void dfs3(int x){ dfn[x] = ++cnt2; low[x] = cnt2; low[x] = cnt2; st[++cntst] = x; ins[x] = 1; for(int i = 0;i < b[x].size();i++){ if(!dfn[b[x][i]]){14 行未改动 ins[st[cntst]] = 0; cntst--; }}int flag2[55][55]; int flag2[55][55];int main(){ cin >> t; while(t--){ cin >> n >> m;100 行未改动 s[i][j] = '-'; } } } cout << "POSSIBLE\n"; cout << "POSSIBLE\n"; for(int i = 1;i <= n;i++){ for(int j = 1;j <= m;j++){ cout << s[i][j]; } } cout << '\n'; } } return 0;10 行未改动vector<int> b[10005];void add(int x,int y){ b[x].push_back(y); b[y ^ 1].push_back(x ^ 1); //cout << x << " " << y << "\n\n"; //cout << x << " " << y << "\n\n";}int dfs(int x,int y,int fx,int fy){ if(x < 1 || x > n || y < 1 || y > m || s[x][y] == '#'){ return 0;29 行未改动}int dfn[10005],low[10005],cnt2,ins[10005],flag[10005],cnt3,st[10005],cntst;void dfs3(int x){ dfn[x] = ++cnt2; low[x] = cnt2; low[x] = cnt2; st[++cntst] = x; ins[x] = 1; for(int i = 0;i < b[x].size();i++){ if(!dfn[b[x][i]]){14 行未改动 ins[st[cntst]] = 0; cntst--; }}int flag2[55][55]; int flag2[55][55];int main(){ cin >> t; while(t--){ cin >> n >> m;98 行未改动 s[i][j] = '-'; } } } cout << "POSSIBLE\n"; cout << "POSSIBLE\n"; for(int i = 1;i <= n;i++){ for(int j = 1;j <= m;j++){ cout << s[i][j]; } } cout << '\n'; } } return 0;2 行未改动