版本比较
题解:P9243 [蓝桥杯 2023 省 B] 岛屿个数
正文
增加 1 行删除 1 行
69 行未改动70717273747576777833 行未改动69 行未改动if (dt[xx][yy]=='1') {ans++;fw[xx][yy]=1;sdfs(xx,yy);}if (dt[xx][yy]=='0') {fw[xx][yy]=1;bdfs(xx,yy);}33 行未改动69 行未改动70717273747576777833 行未改动69 行未改动if (dt[xx][yy]=='1') {ans++;fw[xx][yy]=1;sdfs(xx,yy);}if (dt[xx][yy]=='0') {fw[xx][yy]=1;bdfs(xx,yy);}33 行未改动