正文
增加 8 行删除 6 行
122 行未改动全部展开123124125126127128129130131286 行未改动全部展开41841942042142242342442542642776 行未改动504505506507508509510511122 行未改动全部展开}```### 此时$g[i][j]$就是$i$到$j$的最短距离:::>>### 例题:[送信](http://bbcoj.cn/problem/BD205):::success[]```cpp#include<bits/stdc++.h>using namespace std;286 行未改动全部展开$\color{transparent}11$$\color{transparent}11$$\color{transparent}11$$\color{transparent}11$$\color{transparent}11$76 行未改动$\color{transparent}11$$\color{transparent}11$$\color{transparent}11$### 还有一个spfa## 只能借鉴神犇的了:[关于spfa,它死了](https://www.luogu.me/article/v4dm1m6a)122 行未改动全部展开123124125126127128129130131286 行未改动全部展开41841942042142242342442576 行未改动502503504505506507508509510511512513122 行未改动全部展开}```### 此时$g[i][j]$就是$i$到$j$的最短距离:::>>### 例题:[送信](http://bbcoj.cn/problem/BD205):::success[]```cpp#include<bits/stdc++.h>using namespace std;286 行未改动全部展开$\color{transparent}11$$\color{transparent}11$$\color{transparent}11$$\color{transparent}11$76 行未改动$\color{transparent}11$$\color{transparent}11$### 还有一个spfa## 只能借鉴神犇的了:[](https://www.luogu.me/article/v4dm1m6a):::align{center}# $\Huge\mathcal{THE}\,\,\,\mathcal{END}$