更新图片链接
This commit is contained in:
@@ -43,11 +43,11 @@
|
||||
|
||||
提示信息:
|
||||
|
||||

|
||||

|
||||
|
||||
将孤岛沉没:
|
||||
|
||||

|
||||

|
||||
|
||||
数据范围:
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
如图:
|
||||
|
||||

|
||||

|
||||
|
||||
整体C++代码如下,以下使用dfs实现,其实遍历方式dfs,bfs都是可以的。
|
||||
|
||||
@@ -503,3 +503,4 @@ const bfs = (graph, x, y) => {
|
||||
|
||||
### C
|
||||
|
||||
<div align="center"><a href="https://www.nowcoder.com/link/wx_sqlcarl199" target="_blank"><img src="https://code-thinking-1253855093.file.myqcloud.com/pics/20220416223343.png" width="1000"/></a></div>
|
||||
|
||||
Reference in New Issue
Block a user