版本比较
+1 −1增加 1 行删除 1 行
91 行未改动929394959696979899100205 行未改动全部展开91 行未改动 a[i][j]=-1; bfs(); for(int i=1;i<=n;i++) { for(int j=1;j<=m;j++) for(int j=1;j<=m;j++) { cout<<a[i][j]<<" "; } cout<<endl;205 行未改动全部展开