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