摘要: 注意:如果是这么个写法,堆数组要开成n+m的。 为什么呢?设想一下从1到2有m条长度递减的路,这岂不是要入队m次…… cpp include include include include using namespace std; struct Edge{ int too, nxt, val; }e 阅读全文
posted @ 2017-12-02 11:37 poorpool 阅读(166) 评论(0) 推荐(0) 编辑