城市路(Dijkstra) 解题思路:看注释参考代码:```cpp#include//引入所有标准库头文件usingnamespacestd;#definelllonglong//定义longlong类型为llllinf=99999999;//定义inf常量为99999999constintN=2e3+5;//定义常量N为200 题解列表 2023年03月10日 0 点赞 0 评论 671 浏览 评分:9.9
c++城市路(bfs+优先队列) 摘要:```cpp#include #include using namespace std;const int INF=0x3f3f3f3f;vector edge[2005];…… 题解列表 2025年03月25日 0 点赞 0 评论 382 浏览 评分:0.0