题目链接:https://ac.nowcoder.com/acm/problem/14700题目大意:思路”:我们用dis[u][i]:表示第i天到达u的最大费用。 #include <bits/stdc++.h> #define LL long long using namespace std; struct Edge{ int to, w, nxt; }e[30005]; int head[30005], cut=0; struct ZDL{ int dis[1005][15], vis[1005][15]; struct Node{ int to, T, w; bool op...