摘要: 求出各点与终点的距离 ,然后在求得的DAG 上做动规 #include<cstdio>#include<cstring>#include<queue>#include<algorithm>using namespace std;struct my{ int v; int next; int dist 阅读全文
posted @ 2018-01-20 19:24 lmjer 阅读(99) 评论(0) 推荐(0) 编辑