TeleporterAndClosedOff

TeleporterAndClosedOff

# [Teleporter and Closed off](https://www.luogu.com.cn/problem/AT_abc291_f) ## 思路 首先考虑从起点和终点分别 `bfs`(终点的 `bfs` 定义为从其他所有点到他,即在反向图上),预处理出两个距离,可以在 $O(nm) ......
TeleporterAndClosedOff
共1篇  :1/1页 首页上一页1下一页尾页