0_0_15234642_4974\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_15234642_4974\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_15234642_4974\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_15234642_4974\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_15234642_4974\Main.java:6: 错误: 需要class, interface或enum
const int N = 22;
^
0_0_15234642_4974\Main.java:8: 错误: 需要class, interface或enum
int n, dp[N][N][N][N], a[N], b[N], sa[N], sb[N];
^
0_0_15234642_4974\Main.java:10: 错误: 需要class, interface或enum
int DP(int s1, int t1, int s2, int t2) {
^
0_0_15234642_4974\Main.java:13: 错误: 需要class, interface或enum
int ret = 0, sum = sa[t1] - sa[s1 - 1] + sb[t2] - sb[s2 - 1], tmp;
^
0_0_15234642_4974\Main.java:14: 错误: 需要class, interface或enum
if (s1 <= t1) {
^
0_0_15234642_4974\Main.java:16: 错误: 需要class, interface或enum
ret = max(ret, tmp);
^
0_0_15234642_4974\Main.java:17: 错误: 需要class, interface或enum
tmp = sum - DP(s1, t1 - 1, s2, t2);
^
0_0_15234642_4974\Main.java:18: 错误: 需要class, interface或enum
ret = max(ret, tmp);
^
0_0_15234642_4974\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_15234642_4974\Main.java:22: 错误: 需要class, interface或enum
ret = max(ret, tmp);
^
0_0_15234642_4974\Main.java:23: 错误: 需要class, interface或enum
tmp = sum - DP(s1, t1, s2, t2 - 1);
^
0_0_15234642_4974\Main.java:24: 错误: 需要class, interface或enum
ret = max(ret, tmp);
^
0_0_15234642_4974\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_15234642_4974\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_15234642_4974\Main.java:31: 错误: 需要class, interface或enum
scanf("%d", &T);
^
0_0_15234642_4974\Main.java:32: 错误: 需要class, interface或enum
while (T--) {
^
0_0_15234642_4974\Main.java:35: 错误: 需要class, interface或enum
sa[0] = sb[0] = 0;
^
0_0_15234642_4974\Main.java:36: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) scanf("%d", &a[i]), sa[i] = sa[i - 1] + a[i];
^
0_0_15234642_4974\Main.java:36: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) scanf("%d", &a[i]), sa[i] = sa[i - 1] + a[i];
^
0_0_15234642_4974\Main.java:36: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) scanf("%d", &a[i]), sa[i] = sa[i - 1] + a[i];
^
0_0_15234642_4974\Main.java:37: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) scanf("%d", &b[i]), sb[i] = sb[i - 1] + b[i];
^
0_0_15234642_4974\Main.java:37: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) scanf("%d", &b[i]), sb[i] = sb[i - 1] + b[i];
^
0_0_15234642_4974\Main.java:37: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) scanf("%d", &b[i]), sb[i] = sb[i - 1] + b[i];
^
0_0_15234642_4974\Main.java:39: 错误: 需要class, interface或enum
memset(dp, -1, sizeof(dp));
^
0_0_15234642_4974\Main.java:40: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) dp[i][i][i][i] = max(a[i], b[i]);
^
0_0_15234642_4974\Main.java:40: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) dp[i][i][i][i] = max(a[i], b[i]);
^
0_0_15234642_4974\Main.java:40: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) dp[i][i][i][i] = max(a[i], b[i]);
^
0_0_15234642_4974\Main.java:41: 错误: 需要class, interface或enum
printf("%d\n", DP(1, n, 1, n));
^
0_0_15234642_4974\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_15234642_4974\Main.java:44: 错误: 需要class, interface或enum
}
^
34 个错误
|