版本比较
x
正文
增加 1 行删除 1 行
3 行未改动456788910111241 行未改动3 行未改动using namespace std;
int n, m, t, c[85], dp[85][85], w[85][85][85], nxt[85][85];vector <int> to[85];// dp[i][j] 表示在第 i 天到达第 j 个城市的最小花费 // dp[i][j] 表示在第 i 天到达第 j 个城市的最小花费
void init() { memset(dp, 0x3f, sizeof(dp)); dp[0][1] = 0;41 行未改动