摘要: 一道最短路问题。普通最短路问题的边只有一种权值,而此题的边要考虑两种权值。因为节点n 2 #define N 1001 3 #define INF 9999999 4 5 int map[N][N]; /*距离图*/ 6 int cost[N][N]; /*花费图... 阅读全文