题目链接:https://ac.nowcoder.com/acm/problem/19809题目大意:思路: #include <bits/stdc++.h> #define LL long long using namespace std; LL x[1005], y[1005], z[1005]; LL a[1005], b[1005], c[1005]; LL s[1005][1005], f[1005][1005], s1[1005][1005], s2[1005][1005]; int main(){ int n, m; scanf("%d%d&q...