会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Nepenthe8
首页
新随笔
联系
订阅
管理
2020年9月10日
【模板】POJ-1511(dijkstra堆优化+链式前向星)
摘要: POJ-1511 题目大意: 求1号点到各个点的最短距离,以及各个点到1号点的最短距离。 思路: 链式前向星+dijkstra堆优化 正反向存图+2次dijkstra code: #include <bits/stdc++.h> using namespace std; typedef long l
阅读全文
posted @ 2020-09-10 15:40 Nepenthe8
阅读(69)
评论(0)
推荐(0)
编辑
公告